Borderou de evaluare (job #700838)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Zigzag (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 mar. 2023 20:07:35 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, char*)': main.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | scanf("%c", &v[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp:13:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | scanf("%c", &space); | ~~~~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:83:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | freopen("zigzag.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:84:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | freopen("zigzag.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:87:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | scanf("%d%d", &c,&n); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 503 kb Incorect 0
2 1 ms 770 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 507 kb Incorect 0
5 9 ms 3657 kb Memory limit exceeded 0
6 19 ms 5492 kb Memory limit exceeded 0
7 19 ms 1560 kb Killed by Signal 11 0
8 29 ms 4177 kb Memory limit exceeded 0
9 29 ms 4177 kb Memory limit exceeded 0
10 1 ms 245 kb Incorect 0
Punctaj total 0