Borderou de evaluare (job #1638800)

Utilizator mihaiperjuMihai Perju mihaiperju Data 8 martie 2016 09:20:08
Problema Panda Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void valideaza(int, int)’: user.cpp:32:30: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(((a[x][y]>>i) & 1)==(K>>i) & 1) ^ user.cpp: In function ‘int main()’: user.cpp:47:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin,"%d%d%d%d%d%d%d%d",&cerinta,&n,&m,&T,&panda.x,&panda.y,&K,&S); ^ user.cpp:47:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:47:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:47:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=] user.cpp:47:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘short int*’ [-Wformat=] user.cpp:60:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin,"%d",&a[i][j]); ^ user.cpp:68:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<b.size();i++) ^ user.cpp:47:77: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d%d%d%d%d%d",&cerinta,&n,&m,&T,&panda.x,&panda.y,&K,&S); ^ user.cpp:53:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&v.x,&v.y); ^ user.cpp:60:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbKilled by signal 11(SIGSEGV).0
20ms416kbKilled by signal 11(SIGSEGV).0
30ms416kbKilled by signal 11(SIGSEGV).0
40ms792kbKilled by signal 11(SIGSEGV).0
50ms412kbKilled by signal 11(SIGSEGV).0
60ms628kbKilled by signal 11(SIGSEGV).0
70ms552kbKilled by signal 11(SIGSEGV).0
80ms624kbKilled by signal 11(SIGSEGV).0
90ms832kbKilled by signal 11(SIGSEGV).0
100ms792kbKilled by signal 11(SIGSEGV).0
110ms404kbKilled by signal 11(SIGSEGV).0
120ms836kbKilled by signal 11(SIGSEGV).0
130ms748kbKilled by signal 11(SIGSEGV).0
144ms908kbKilled by signal 11(SIGSEGV).0
150ms428kbKilled by signal 11(SIGSEGV).0
160ms616kbKilled by signal 11(SIGSEGV).0
170ms552kbKilled by signal 11(SIGSEGV).0
180ms548kbKilled by signal 11(SIGSEGV).0
190ms712kbKilled by signal 11(SIGSEGV).0
200ms704kbKilled by signal 11(SIGSEGV).0
210ms664kbKilled by signal 11(SIGSEGV).0
224ms704kbKilled by signal 6(SIGABRT).0
230ms416kbKilled by signal 11(SIGSEGV).0
244ms924kbKilled by signal 11(SIGSEGV).0
250ms476kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?