Borderou de evaluare (job #694875)

Utilizator avatar radu_pip2011 Radu Pipernea radu_pip2011 IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 feb. 2023 09:21:15 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if(pr>maxi) | ^~ main.cpp:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | if(ok==0) | ^~ main.cpp:8:37: warning: unused variable 'k' [-Wunused-variable] 8 | int n,p,v,maxi=-1,pr,r,ok=1,aux,k=0; | ^ main.cpp:46:23: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] 46 | cout<<maxi<<endl<<r; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 3 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 1 ms 114 kb OK 10
10 2 ms 114 kb OK 10
Punctaj total 100