Borderou de evaluare (job #652617)

Utilizator avatar VladStroica Stroica Vlad Cristian VladStroica IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 iun. 2022 17:03:40 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if(suma>maxsuma) | ^~ main.cpp:16:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | copie=suma; | ^~~~~ main.cpp:21:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 21 | if(suma>maxsuma) | ^~ main.cpp:23:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 23 | for(i=1;i<100;i++) | ^~~ main.cpp:9:22: warning: unused variable 'minim' [-Wunused-variable] 9 | int n,a,b,suma=0,minim=10001,maxsuma=0,maxim=0,copie=0,i,maxdiv; | ^~~~~ main.cpp:9:44: warning: unused variable 'maxim' [-Wunused-variable] 9 | int n,a,b,suma=0,minim=10001,maxsuma=0,maxim=0,copie=0,i,maxdiv; | ^~~~~ main.cpp:29:11: warning: 'maxdiv' may be used uninitialized in this function [-Wmaybe-uninitialized] 29 | fout<<maxdiv; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb OK 10
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 110 kb Incorect 0
10 1 ms 114 kb Incorect 0
Punctaj total 10