Borderou de evaluare (job #834634)

Utilizator avatar clarageorgita Clara Georgiţă clarageorgita IP ascuns
Problemă Dublă conversie (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 sept. 2025 19:29:22 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:25: warning: unused variable 'j' [-Wunused-variable] 12 | int n, nrz=0, c, i, j, cnt, ok=0; | ^ main.cpp:12:33: warning: unused variable 'ok' [-Wunused-variable] 12 | int n, nrz=0, c, i, j, cnt, ok=0; | ^~ main.cpp:57:10: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 57 | for(i=cnt-1; i>=1; i--) | ~^~~~~~ main.cpp:12:28: note: 'cnt' was declared here 12 | int n, nrz=0, c, i, j, cnt, ok=0; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 504 kb OK 10
2 1 ms 296 kb OK 10
3 1 ms 504 kb OK 10
4 1 ms 296 kb OK 10
5 1 ms 504 kb OK 10
6 1 ms 504 kb OK 10
7 1 ms 296 kb OK 10
8 1 ms 296 kb OK 10
9 1 ms 296 kb OK 10
10 1 ms 504 kb OK 10
Punctaj total 100