Pagini recente » Borderou de evaluare (job #1371430) | Borderou de evaluare (job #1371450) | Borderou de evaluare (job #1429455) | Borderou de evaluare (job #1465388) | Borderou de evaluare (job #1371475)
Borderou de evaluare (job #1371475)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:105:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ans);
^
user.cpp:87:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.in", "r", stdin);
^
user.cpp:88:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.out", "w", stdout);
^
user.cpp:90:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &S);
^
user.cpp:94:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &val[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 28ms | 19808kb | OK | 10 |
| 2 | 28ms | 19848kb | OK | 10 |
| 3 | 68ms | 20896kb | OK | 10 |
| 4 | 404ms | 28228kb | OK | 10 |
| 5 | 728ms | 36388kb | OK | 10 |
| 6 | 1032ms | 42976kb | OK | 10 |
| 7 | 1244ms | 46944kb | OK | 10 |
| 8 | 1288ms | 48632kb | OK | 10 |
| 9 | 1364ms | 49932kb | OK | 10 |
| 10 | 1420ms | 51092kb | OK | 10 |
| Punctaj total | 100 |