Borderou de evaluare (job #414137)

Utilizator avatar alexapop alexandra popescu alexapop IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 dec. 2018 10:02:30 Scor 40

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,t,m ; | ^~~
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 29 ms 770 kb Killed by Signal 11 0
6 29 ms 1036 kb Killed by Signal 11 0
7 29 ms 774 kb Killed by Signal 11 0
8 29 ms 774 kb Killed by Signal 11 0
9 29 ms 774 kb Killed by Signal 11 0
10 29 ms 774 kb Killed by Signal 11 0
Punctaj total 40