Borderou de evaluare (job #647382)

Utilizator avatar StoicaMihnea Mihnea Teodor Stoica StoicaMihnea IP ascuns
Problemă Tetris (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 apr. 2022 16:27:40 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf( fin, "%d%d%d", &m, &n, &s ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:19:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf( fin, "%d", &piesa ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:44:17: warning: 'turnmin' may be used uninitialized in this function [-Wmaybe-uninitialized] 44 | if ( h[c] + 1 > hmax ) | ~~~^ main.cpp:54:17: warning: 'turnpv' may be used uninitialized in this function [-Wmaybe-uninitialized] 54 | h[c]++; | ~~~~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 114 kb OK 10
2 3 ms 114 kb OK 10
3 3 ms 114 kb OK 10
4 3 ms 114 kb OK 10
5 66 ms 118 kb OK 10
6 3 ms 114 kb OK 10
7 3 ms 118 kb OK 10
8 3 ms 114 kb OK 10
9 2 ms 118 kb OK 10
10 3 ms 114 kb OK 10
Punctaj total 100