Pagini recente » Monitorul de evaluare | Cod sursa (job #474446) | Cod sursa (job #137130) | Cod sursa (job #779141) | Borderou de evaluare (job #2395312)
Borderou de evaluare (job #2395312)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.in", "r", stdin);
^
main.cpp:31:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.out", "w", stdout);
^
main.cpp:35:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &G);
^
main.cpp:41:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &W[i], &P[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 500ms | 2490kb | Time limit exceeded | 0 | 0 |
| 2 | 502ms | 2490kb | Time limit exceeded | 0 |
| 3 | 500ms | 2490kb | Time limit exceeded | 0 |
| 4 | 503ms | 2490kb | Time limit exceeded | 0 |
| 5 | 155ms | 2490kb | OK | 10 |
| 6 | 503ms | 2621kb | Time limit exceeded | 0 |
| 7 | 502ms | 2490kb | Time limit exceeded | 0 |
| 8 | 501ms | 2490kb | Time limit exceeded | 0 |
| 9 | 500ms | 2490kb | Time limit exceeded | 0 |
| 10 | 501ms | 2490kb | Time limit exceeded | 0 |
| Punctaj total | 0 |