Borderou de evaluare (job #414138)

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:03:01 Scor 60

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 507 kb OK 10
3 1 ms 266 kb OK 10
4 1 ms 245 kb OK 10
5 1119 ms 1007 kb OK 10
6 1179 ms 991 kb OK 10
7 1207 ms 1220 kb Time limit exceeded 0
8 1209 ms 1253 kb Time limit exceeded 0
9 1209 ms 1277 kb Time limit exceeded 0
10 1209 ms 1282 kb Time limit exceeded 0
Punctaj total 60