Borderou de evaluare (job #1579936)

Utilizator axelteoTeodor Dutu axelteo Data 25 ianuarie 2016 11:34:46
Problema Cartite Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:71:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] fscanf(in,"%d%d%d%d",&lin,&col,&start.l,&start.c); ^ user.cpp:71:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(in,"%d%d%d%d",&here.l,&here.c,&there.l,&there.c); ^ user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:110:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:69:10: warning: unused variable ‘found’ [-Wunused-variable] bool found; ^ user.cpp:70:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&task); ^ user.cpp:71:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&lin,&col,&start.l,&start.c); ^ user.cpp:77:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&foxes); ^ user.cpp:80:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d",&x,&y,&r); ^ user.cpp:83:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&holes); ^ user.cpp:91:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&x,&y,&b,&r); ^ user.cpp:105:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&foxes); ^ user.cpp:106:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=foxes;++i)fscanf(in,"%d%d%d",&x,&x,&x); ^ user.cpp:107:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&holes); ^ user.cpp:110:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&here.l,&here.c,&there.l,&there.c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbKilled by signal 11(SIGSEGV).0
20ms288kbKilled by signal 11(SIGSEGV).0
30ms280kbKilled by signal 11(SIGSEGV).0
40ms280kbKilled by signal 11(SIGSEGV).0
50ms288kbKilled by signal 11(SIGSEGV).0
60ms280kbKilled by signal 11(SIGSEGV).0
70ms308kbKilled by signal 11(SIGSEGV).0
80ms324kbKilled by signal 11(SIGSEGV).0
90ms348kbKilled by signal 11(SIGSEGV).0
100ms432kbKilled by signal 11(SIGSEGV).0
110ms308kbKilled by signal 11(SIGSEGV).0
120ms328kbKilled by signal 11(SIGSEGV).0
130ms312kbKilled by signal 11(SIGSEGV).0
140ms312kbKilled by signal 11(SIGSEGV).0
150ms300kbKilled by signal 11(SIGSEGV).0
160ms352kbKilled by signal 11(SIGSEGV).0
170ms300kbKilled by signal 11(SIGSEGV).0
180ms424kbKilled by signal 11(SIGSEGV).0
190ms288kbKilled by signal 11(SIGSEGV).0
200ms432kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?