Borderou de evaluare (job #721115)

Utilizator avatar radu_pip2011 Radu Pipernea radu_pip2011 IP ascuns
Problemă Cartonaș (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 23 mai 2023 18:42:06 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int ver(int)': main.cpp:12:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 12 | if(a%2==1) | ^~ main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 14 | a/=2; | ^ main.cpp: In function 'int cmd(ura, ura)': main.cpp:30:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if(a.c<b.c) | ^~ main.cpp:32:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 32 | return false; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:40:12: warning: unused variable 'nr' [-Wunused-variable] 40 | int n,c,nr; | ^~ main.cpp:44:8: warning: variable 'ok' set but not used [-Wunused-but-set-variable] 44 | int ok=1,nrr; | ^~ main.cpp:77:13: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 77 | cout<<s<<'\n'<<nrr<<'\n'; | ^~~~ main.cpp:57:8: note: 's' was declared here 57 | int s; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 10
2 2 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 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 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100