Borderou de evaluare (job #1450387)

Utilizator buggy113Avram Constantin Dan buggy113 Data 13 iunie 2015 00:30:21
Problema ZParcurgere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d %d", &(sol[i].x), &(sol[i].y)); ^ user.cpp:42:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:33:20: warning: unused variable ‘j’ [-Wunused-variable] int n = 0, i = 0, j = 0;; ^ user.cpp:34:10: warning: unused variable ‘xk’ [-Wunused-variable] int k=0,xk,yk; ^ user.cpp:34:13: warning: unused variable ‘yk’ [-Wunused-variable] int k=0,xk,yk; ^ user.cpp:38:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &n,&k); ^ user.cpp:42:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &(sol[i].x), &(sol[i].y)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms224kbKilled by signal 11(SIGSEGV).0
20ms224kbKilled by signal 11(SIGSEGV).0
30ms260kbOK10
40ms232kbKilled by signal 11(SIGSEGV).0
50ms228kbKilled by signal 11(SIGSEGV).0
60ms280kbOK10
724ms4360kbOK10
8Depăşit41456kbTime limit exceeded.0
9Depăşit21332kbTime limit exceeded.0
10Depăşit22916kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?