Pagini recente » Borderou de evaluare (job #1438164) | Borderou de evaluare (job #1459741) | Borderou de evaluare (job #1459303) | Borderou de evaluare (job #1437251) | Borderou de evaluare (job #1371486)
Borderou de evaluare (job #1371486)
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 | 19844kb | OK | 10 |
| 3 | 68ms | 20896kb | OK | 10 |
| 4 | 400ms | 28232kb | OK | 10 |
| 5 | 720ms | 36388kb | OK | 10 |
| 6 | 1032ms | 42980kb | OK | 10 |
| 7 | 1224ms | 46940kb | OK | 10 |
| 8 | 1292ms | 48636kb | OK | 10 |
| 9 | 1348ms | 49928kb | OK | 10 |
| 10 | 1424ms | 51092kb | OK | 10 |
| Punctaj total | 100 |