Borderou de evaluare (job #1388425)

Utilizator lehman97Dimulescu David lehman97 Data 15 martie 2015 14:25:35
Problema Online Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:47:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=] fscanf(f,"%d%d%d",&val.x,&val.y,&val.c); ^ user.cpp:47:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=] user.cpp:47:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=] user.cpp: In function ‘void solve()’: user.cpp:57:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j,f1,f2; ^ user.cpp: In function ‘void afisare()’: user.cpp:87:9: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp: In function ‘void citire()’: user.cpp:44:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:47:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&val.x,&val.y,&val.c); ^ user.cpp:52:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&k); ^ user.cpp: In function ‘int main()’: user.cpp:98:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&a1,&a2,&a3); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbKilled by signal 11(SIGSEGV).0
20ms464kbKilled by signal 11(SIGSEGV).0
30ms404kbKilled by signal 11(SIGSEGV).0
40ms456kbKilled by signal 11(SIGSEGV).0
50ms424kbKilled by signal 11(SIGSEGV).0
60ms448kbKilled by signal 11(SIGSEGV).0
70ms464kbKilled by signal 11(SIGSEGV).0
80ms488kbKilled by signal 11(SIGSEGV).0
90ms496kbKilled by signal 11(SIGSEGV).0
100ms512kbKilled by signal 11(SIGSEGV).0
110ms520kbKilled by signal 11(SIGSEGV).0
120ms484kbKilled by signal 11(SIGSEGV).0
134msDepăşitMemory limit exceeded.0
148msDepăşitMemory limit exceeded.0
158msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?