Borderou de evaluare (job #838470)

Utilizator avatar Lucian_C Codescu Lucian Lucian_C IP ascuns
Problemă Cozonaci (clasa 5-6) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 oct. 2025 18:22:51 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:26:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 26 | if(maxi<a1); | ^~ main.cpp:27:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 27 | { | ^ main.cpp:35:10: warning: 'maxi' may be used uninitialized [-Wmaybe-uninitialized] 35 | fout<<m; | ^ main.cpp:9:44: note: 'maxi' was declared here 9 | int n, f, r, k=0, m, c, a1=0, a2=0, ra, maxi; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 296 kb OK 10
2 1 ms 296 kb OK 10
3 1 ms 296 kb OK 10
4 1 ms 512 kb OK 10
5 1 ms 512 kb OK 10
6 1 ms 512 kb OK 10
7 1 ms 296 kb OK 10
8 1 ms 296 kb OK 10
9 1 ms 512 kb OK 10
10 1 ms 512 kb OK 10
Punctaj total 100