Borderou de evaluare (job #1290967)

Utilizator sulzandreiandrei sulzandrei Data 11 decembrie 2014 23:41:20
Problema Patrate6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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[30],c[30],k,z,nr,ok; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK10
20ms428kbOK10
30ms388kbKilled by signal 11(SIGSEGV).0
40ms392kbKilled by signal 11(SIGSEGV).0
50ms428kbOK10
60ms396kbKilled by signal 11(SIGSEGV).0
70ms388kbKilled by signal 11(SIGSEGV).0
80ms388kbKilled by signal 11(SIGSEGV).0
90ms396kbKilled by signal 11(SIGSEGV).0
100ms388kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?