Borderou de evaluare (job #1846656)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 13 ianuarie 2017 20:45:31
Problema Civilizatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:153: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] ok=(A[M[j-1][V[i].y-dif]]==1&&A[M[j][V[i].y-dif-1]]==1&&A[M[j-1][V[i].y+dif]]==1&&A[M[j][V[i].y+dif+1]]==1&&M[j][V[i].y-dif]==0&M[j][V[i].y+dif]==0); ^ user.cpp:60:153: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] ok=(A[M[j+1][V[i].y-dif]]==1&&A[M[j][V[i].y-dif-1]]==1&&A[M[j+1][V[i].y+dif]]==1&&A[M[j][V[i].y+dif+1]]==1&&M[j][V[i].y-dif]==0&M[j][V[i].y+dif]==0); ^ user.cpp:23:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&cer); ^ user.cpp:24:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld %lld",&x,&y); ^ user.cpp:25:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&t); ^ user.cpp:26:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&N); ^ user.cpp:28:62: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&V[i].x,&V[i].y),M[V[i].x][V[i].y]=i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK5
20ms248kbKilled by signal 11(SIGSEGV).0
30ms244kbKilled by signal 11(SIGSEGV).0
40ms280kbOK5
50ms664kbIncorect0
60ms672kbIncorect0
70ms668kbIncorect0
80ms676kbIncorect0
90ms672kbIncorect0
100ms672kbIncorect0
110ms244kbKilled by signal 11(SIGSEGV).0
120ms248kbKilled by signal 11(SIGSEGV).0
130ms248kbKilled by signal 11(SIGSEGV).0
140ms252kbKilled by signal 11(SIGSEGV).0
150ms248kbKilled by signal 11(SIGSEGV).0
160ms252kbKilled by signal 11(SIGSEGV).0
170ms252kbKilled by signal 11(SIGSEGV).0
180ms248kbKilled by signal 11(SIGSEGV).0
190ms248kbKilled by signal 11(SIGSEGV).0
200ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?