Borderou de evaluare (job #1134709)

Utilizator robertstrecheStreche Robert robertstreche Data 6 martie 2014 20:41:30
Problema Geamuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:28: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%hd%hd",&c,&n); ^ user.cpp:16:28: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:20:49: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%hd%hd%hd%hd",&y1,&x1,&y2,&x2); ^ user.cpp:20:49: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:20:49: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:20:49: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:47:23: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%hd",&m); ^ user.cpp:51:28: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%hd",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms344kbOK10
24ms480kbOK10
312ms744kbOK10
420ms744kbOK10
528ms1280kbOK10
656ms1276kbOK10
764ms2328kbOK10
868ms2336kbOK10
940ms668kbKilled by signal 11(SIGSEGV).0
1040ms668kbKilled by signal 11(SIGSEGV).0
Punctaj total80

Ceva nu functioneaza?