Pagini recente » Cod sursa (job #1757525) | Borderou de evaluare (job #399945) | Borderou de evaluare (job #2402236) | Borderou de evaluare (job #2302352) | Borderou de evaluare (job #2079524)
Borderou de evaluare (job #2079524)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in", "r", stdin);
^
user.cpp:33:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &Q);
^
user.cpp:38:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &f[i]);
^
user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:51:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 3996kb | OK | 10 |
| 2 | 4ms | 3996kb | OK | 10 |
| 3 | 12ms | 4000kb | OK | 10 |
| 4 | 12ms | 3992kb | OK | 10 |
| 5 | 40ms | 4612kb | OK | 10 |
| 6 | 160ms | 7164kb | OK | 10 |
| 7 | 244ms | 8768kb | OK | 10 |
| 8 | 440ms | 12260kb | OK | 10 |
| 9 | 472ms | 12900kb | OK | 10 |
| 10 | 500ms | 13528kb | OK | 10 |
| Punctaj total | 100 |