Borderou de evaluare (job #764004)

Utilizator avatar Patrickvasile Soltan Cristian Patrickvasile IP ascuns
Problemă Brățara (clasele 5/6) Compilator cpp-32
Rundă lasm_22_02_2024_clasa12 Status evaluat
Dată 22 feb. 2024 11:27:55 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'char readChar()': main.cpp:15:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fread(rbuf, 1, BUFSIZE, fin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:84:20: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized] 84 | if (c == 2 && st == dr) | ~~~^~~~~ main.cpp:35:27: note: 'st' was declared here 35 | int c, n, i, copy, ans, st, dr, j; | ^~ main.cpp:84:20: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized] 84 | if (c == 2 && st == dr) | ~~~^~~~~ main.cpp:35:31: note: 'dr' was declared here 35 | int c, n, i, copy, ans, st, dr, j; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 512 kb OK 10
2 3 ms 245 kb OK 10
3 3 ms 245 kb OK 10
4 3 ms 245 kb OK 10
5 3 ms 245 kb OK 10
6 3 ms 245 kb OK 10
7 3 ms 245 kb OK 10
8 3 ms 512 kb OK 10
9 22 ms 770 kb OK 10
10 3 ms 245 kb OK 10
Punctaj total 100