Borderou de evaluare (job #735787)

Utilizator avatar DeezNuts Albert Voiculescu DeezNuts IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 oct. 2023 11:31:25 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 12 | if(obp>max) | ^~ main.cpp:14:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 14 | cmmdc=obp; | ^~~~~ main.cpp:18:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 18 | if(ob>max) | ^~ main.cpp:20:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 20 | c=ob; | ^ main.cpp:8:34: warning: variable 'c' set but not used [-Wunused-but-set-variable] 8 | int n,p,v,max=0,ob=0,r=0,obp,c,cmmdc,i; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 4 ms 245 kb OK 10
3 2 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