Pagini recente » Borderou de evaluare (job #1972728) | Borderou de evaluare (job #2106654) | Borderou de evaluare (job #2989548) | Borderou de evaluare (job #2305773) | Borderou de evaluare (job #1689270)
Borderou de evaluare (job #1689270)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:109:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(stdout, "%d\n", MAX(0, max));
^
user.cpp:88:27: warning: unused variable ‘pos’ [-Wunused-variable]
int i, a, b, val, task, pos;
^
user.cpp:90:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxq.out", "w", stdout);
^
user.cpp:93:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &N);
^
user.cpp:95:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &val);
^
user.cpp:100:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &M);
^
user.cpp:102:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d", &task, &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 5 |
| 2 | 4ms | 324kb | OK | 5 |
| 3 | 4ms | 388kb | OK | 5 |
| 4 | 8ms | 512kb | OK | 5 |
| 5 | 204ms | 4356kb | Incorect | 0 |
| 6 | 236ms | 8456kb | Incorect | 0 |
| 7 | 272ms | 8456kb | Incorect | 0 |
| 8 | 292ms | 8452kb | Incorect | 0 |
| 9 | 308ms | 8452kb | Incorect | 0 |
| 10 | 320ms | 8452kb | Incorect | 0 |
| 11 | 256ms | 8456kb | OK | 5 |
| 12 | 336ms | 8456kb | OK | 5 |
| 13 | 400ms | 8452kb | OK | 5 |
| 14 | 452ms | 8456kb | OK | 5 |
| 15 | 660ms | 16636kb | OK | 5 |
| 16 | 684ms | 16644kb | OK | 5 |
| 17 | 684ms | 16640kb | OK | 5 |
| 18 | 700ms | 16644kb | OK | 5 |
| 19 | 692ms | 16640kb | OK | 5 |
| 20 | 692ms | 16644kb | OK | 5 |
| Punctaj total | 70 |