Borderou de evaluare (job #811568)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Palindrom1 (clasa a 6-a) Compilator c-32
Rundă Simulare OJI clasa a 6-a 2025 Status evaluat
Dată 25 feb. 2025 18:28:52 Scor 40

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:26: warning: unused variable 'x' [-Wunused-variable] 10 | int n, i, cf, copie, x, j, nr_max, ver_0, max; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &cf); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:52:12: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized] 52 | while(v[max]){ | ~^~~~~ main.c:10:47: note: 'max' was declared here 10 | int n, i, cf, copie, x, j, nr_max, ver_0, max; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 1 ms 249 kb Incorect 0
Punctaj total 40