Borderou de evaluare (job #414043)

Utilizator avatar alexapop alexandra popescu alexapop IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 29 dec. 2018 18:08:48 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 22 | if(l==n&&c==1) nr2=nr;i--;j++; | ^~ main.cpp:22:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 22 | if(l==n&&c==1) nr2=nr;i--;j++; | ^ main.cpp:35:18: warning: 'nr2' may be used uninitialized [-Wmaybe-uninitialized] 35 | if((nr-nr2)%n==0) | ~~~^~~~~ main.cpp:10:31: note: 'nr2' was declared here 10 | int n,i,j,l,c,nr,ultim,c2,nr2 ; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 119 ms 1155 kb OK 10
6 129 ms 1069 kb OK 10
7 129 ms 1081 kb OK 10
8 139 ms 1310 kb OK 10
9 149 ms 1150 kb OK 10
10 149 ms 1159 kb OK 10
Punctaj total 100