Borderou de evaluare (job #2621455)

Utilizator LgbtqPlusMike Mirzayanov LgbtqPlus Data 30 mai 2020 14:49:01
Problema Papagali Status done
Runda Junior Challenge 2020 Runda 2 Compilator cpp-64 | Vezi sursa
Scor 60

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); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1582ms26157kbOK1010
2322ms24117kbOK1030
3317ms26214kbOK10
4291ms24117kbOK10
5255ms24248kbOK1020
6284ms24248kbOK10
7556ms26136kbIncorect00
8651ms26157kbIncorect0
9626ms26083kbIncorect0
10636ms28180kbOK10
Punctaj total60

Ceva nu functioneaza?