Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1906789) | Borderou de evaluare (job #1685184) | Borderou de evaluare (job #1270832)
Borderou de evaluare (job #1270832)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ans);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in", "r", stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out", "w", stdout);
^
user.cpp:22:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v + i);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| ✓ | 1 | 0ms | 272kb | OK | 10 |
| ✓ | 2 | 0ms | 264kb | OK | 10 |
| ✓ | 3 | 4ms | 312kb | Incorect | 0 |
| ✓ | 4 | 40ms | 664kb | OK | 10 |
| ✓ | 5 | 0ms | 268kb | OK | 10 |
| ✓ | 6 | 0ms | 308kb | Incorect | 0 |
| ✓ | 7 | 44ms | 656kb | OK | 10 |
| ✓ | 8 | 8ms | 352kb | OK | 10 |
| ✓ | 9 | Depăşit | 612kb | Time limit exceeded. | 0 |
| ✓ | 10 | Depăşit | 616kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |