Borderou de evaluare (job #1290973)

Utilizator sulzandreiandrei sulzandrei Data 11 decembrie 2014 23:45:24
Problema Patrate6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:91: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((k>=1 &&c[k]==c[k-1]) || (k>=2 && c[k] == c[k-1] && c[k] == c[k-2]) || (k>=3) && (c[k] == c[k-1] && c[k] == c[k-2] && c[k] == c[k-3])) ^ user.cpp:13:37: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable] int n,i,v[100000],c[100000],k,z,nr,ok; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK10
20ms440kbOK10
312ms528kbIncorect0
4Depăşit1052kbTime limit exceeded.0
50ms436kbOK10
624ms536kbOK10
772ms840kbOK10
868ms612kbOK10
9Depăşit1292kbTime limit exceeded.0
10Depăşit1052kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?