Borderou de evaluare (job #784448)

Utilizator avatar EduardGrigoras eduard EduardGrigoras IP ascuns
Problemă Trigrame (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 23 aug. 2024 20:07:18 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 19 | else if(c1>='A' && c1<='Z') | ^~ main.cpp:21:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 21 | nr=nr*64+cif1; | ^~ main.cpp:27:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 27 | else if(c2>='A' && c2<='Z') | ^~ main.cpp:29:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 29 | nr=nr*64+cif2; | ^~ main.cpp:35:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 35 | else if(c3>='A' && c3<='Z') | ^~ main.cpp:37:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 37 | nr=nr*64+cif3; | ^~ main.cpp:29:18: warning: 'cif1' may be used uninitialized [-Wmaybe-uninitialized] 29 | nr=nr*64+cif2; | ~~^~~ main.cpp:11:14: note: 'cif1' was declared here 11 | int nr=0,cif1,cif2,cif3,dist=0,maxf=0,cnt=0; | ^~~~ main.cpp:29:15: warning: 'cif2' may be used uninitialized [-Wmaybe-uninitialized] 29 | nr=nr*64+cif2; | ~~^~~~~~~~~~~ main.cpp:11:19: note: 'cif2' was declared here 11 | int nr=0,cif1,cif2,cif3,dist=0,maxf=0,cnt=0; | ^~~~ main.cpp:37:15: warning: 'cif3' may be used uninitialized [-Wmaybe-uninitialized] 37 | nr=nr*64+cif3; | ~~^~~~~~~~~~~ main.cpp:11:24: note: 'cif3' was declared here 11 | int nr=0,cif1,cif2,cif3,dist=0,maxf=0,cnt=0; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb OK 10
2 2 ms 249 kb OK 10
3 1 ms 249 kb OK 10
4 1 ms 249 kb OK 10
5 1 ms 270 kb OK 10
6 172 ms 1187 kb OK 10
7 108 ms 774 kb OK 10
8 139 ms 1036 kb OK 10
9 169 ms 1191 kb OK 10
10 169 ms 1290 kb OK 10
Punctaj total 100