Borderou de evaluare (job #826566)

Utilizator avatar lambrulescumatei@gmail.com Lambrulescu Matei lambrulescumatei@gmail.com IP ascuns
Problemă Cifre 3 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 mai 2025 00:35:06 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:65:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 65 | if(frecva[0]!=0 or frecvb[0]!=0 and c>0) | ~~~~~~~~~~~~~^~~~~~~ main.cpp:65:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 65 | if(frecva[0]!=0 or frecvb[0]!=0 and c>0) | ^~ main.cpp:67:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 67 | if(c==0) | ^~ main.cpp:12:15: warning: unused variable 'n' [-Wunused-variable] 12 | int a,b,x,n,i,maxi1=-1,maxi2=-1,j,c=0; | ^ main.cpp:12:19: warning: unused variable 'maxi1' [-Wunused-variable] 12 | int a,b,x,n,i,maxi1=-1,maxi2=-1,j,c=0; | ^~~~~ main.cpp:12:28: warning: unused variable 'maxi2' [-Wunused-variable] 12 | int a,b,x,n,i,maxi1=-1,maxi2=-1,j,c=0; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 507 kb OK 10
3 1 ms 266 kb OK 10
4 1 ms 507 kb OK 10
5 1 ms 507 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 507 kb OK 10
10 1 ms 266 kb OK 10
Punctaj total 100