Borderou de evaluare (job #1290698)

Utilizator sulzandreiandrei sulzandrei Data 11 decembrie 2014 18:14:24
Problema Patrate6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36: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:29: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable] int n,i,v[12],c[12],k,z,nr,ok; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit384kbTime limit exceeded.0
20ms424kbOK10
30ms392kbKilled by signal 11(SIGSEGV).0
40ms392kbKilled by signal 11(SIGSEGV).0
50ms424kbOK10
60ms392kbKilled by signal 11(SIGSEGV).0
70ms392kbKilled by signal 11(SIGSEGV).0
80ms388kbKilled by signal 11(SIGSEGV).0
90ms388kbKilled by signal 11(SIGSEGV).0
100ms392kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?