Borderou de evaluare (job #588074)

Utilizator avatar MATHILI08 Micu Ana Ilinca MATHILI08 IP ascuns
Problemă Zar1 (clasa a 7-a) Compilator cpp-32
Rundă OJI (clasa a 7-a) Status evaluat
Dată 25 mar. 2021 15:12:42 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 11 | if(k>0) | ^~ main.cpp:54:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if(k>0) | ^~ main.cpp:11:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 11 | if(k>0) | ^ main.cpp:54:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 54 | if(k>0) | ^ main.cpp:97:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 97 | if(k>0) | ^ main.cpp:140:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 140 | if(k>0) | ^ main.cpp:8:22: warning: unused variable 'cop' [-Wunused-variable] 8 | int k,n,f1,f2,f3,cop,aux; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 1 ms 262 kb OK 10
6 1 ms 262 kb Incorect 0
7 1 ms 262 kb Incorect 0
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 50