Borderou de evaluare (job #1309279)

Utilizator savigunFeleaga Dragos-George savigun Data 5 ianuarie 2015 16:57:31
Problema Banana Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x[f]==x[z] && y[f]==y[z]-1 || x[f]==x[z] && y[f]==y[z]+1 || x[f]==x[z]-1 && y[f]==y[z] || x[f]==x[z]+1 && y[f]==y[z]) ^ user.cpp:55:84: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x[f]==x[z] && y[f]==y[z]-1 || x[f]==x[z] && y[f]==y[z]+1 || x[f]==x[z]-1 && y[f]==y[z] || x[f]==x[z]+1 && y[f]==y[z]) ^ user.cpp:55:114: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(x[f]==x[z] && y[f]==y[z]-1 || x[f]==x[z] && y[f]==y[z]+1 || x[f]==x[z]-1 && y[f]==y[z] || x[f]==x[z]+1 && y[f]==y[z]) ^ user.cpp:44:33: warning: unused variable ‘i1’ [-Wunused-variable] int k, i, j, s=0, f=1, z=1, i1, j1, q; ^ user.cpp:44:37: warning: unused variable ‘j1’ [-Wunused-variable] int k, i, j, s=0, f=1, z=1, i1, j1, q; ^ user.cpp:82:11: warning: ‘q’ may be used uninitialized in this function [-Wmaybe-uninitialized] c[q]=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1668kbIncorect0
28ms424kbKilled by signal 11(SIGSEGV).0
3Depăşit19216kbTime limit exceeded.0
4Depăşit16092kbTime limit exceeded.0
5Depăşit11572kbTime limit exceeded.0
6Depăşit9932kbTime limit exceeded.0
7Depăşit1188kbTime limit exceeded.0
8Depăşit9624kbTime limit exceeded.0
9Depăşit9148kbTime limit exceeded.0
10Depăşit1492kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?