Pagini recente » Cod sursa (job #2059614) | Monitorul de evaluare | Cod sursa (job #1978402) | Cod sursa (job #1782383) | Borderou de evaluare (job #1511199)
Borderou de evaluare (job #1511199)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zebughil.in", "r", stdin);
^
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zebughil.out", "w", stdout);
^
user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &g);
^
user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &w[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 1300kb | Time limit exceeded. | 0 |
| 2 | 188ms | 792kb | OK | 10 |
| 3 | 0ms | 292kb | OK | 10 |
| 4 | 0ms | 288kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 292kb | OK | 10 |
| 7 | 156ms | 792kb | OK | 10 |
| 8 | 0ms | 300kb | OK | 10 |
| 9 | 0ms | 284kb | OK | 10 |
| 10 | 156ms | 792kb | OK | 10 |
| Punctaj total | 90 |