Pagini recente » Borderou de evaluare (job #3287113) | Borderou de evaluare (job #3031917) | Borderou de evaluare (job #2344366) | Borderou de evaluare (job #2899040) | Borderou de evaluare (job #2621455)
Borderou de evaluare (job #2621455)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:104:12: warning: unused variable 'ok' [-Wunused-variable]
bool ok = 1;
^~
main.cpp:122:10: warning: unused variable 'val' [-Wunused-variable]
ll val = a[n - 1];
^~~
main.cpp:127:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d\n", mul(nefe, now));
^
main.cpp:57:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("papagali.in", "r", stdin);
^
main.cpp:58:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("papagali.out", "w", stdout);
^
main.cpp:76:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &len, &n);
^
main.cpp:78:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
main.cpp:97:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tsts);
^
main.cpp:100:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &g);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 582ms | 26157kb | OK | 10 | 10 |
✓ | 2 | 322ms | 24117kb | OK | 10 | 30 |
✓ | 3 | 317ms | 26214kb | OK | 10 |
✓ | 4 | 291ms | 24117kb | OK | 10 |
✓ | 5 | 255ms | 24248kb | OK | 10 | 20 |
✓ | 6 | 284ms | 24248kb | OK | 10 |
✓ | 7 | 556ms | 26136kb | Incorect | 0 | 0 |
✓ | 8 | 651ms | 26157kb | Incorect | 0 |
✓ | 9 | 626ms | 26083kb | Incorect | 0 |
✓ | 10 | 636ms | 28180kb | OK | 10 |
Punctaj total | 60 |