Borderou de evaluare (job #1368697)

Utilizator VictorDumitrescuDumitrescu Victor VictorDumitrescu Data 2 martie 2015 19:30:59
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d%d%d%d", &s.lin, &s.col, &sf.lin, &sf.col); ^ user.cpp:59:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:59:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:59:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:52:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%hd%hd", &n, &m); ^ user.cpp:55:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%hd%hd", &s.lin, &s.col); ^ user.cpp:59:60: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d%d", &s.lin, &s.col, &sf.lin, &sf.col); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms560kbKilled by signal 11(SIGSEGV).0
20ms560kbKilled by signal 11(SIGSEGV).0
30ms560kbKilled by signal 11(SIGSEGV).0
40ms560kbKilled by signal 11(SIGSEGV).0
50ms560kbKilled by signal 11(SIGSEGV).0
60ms556kbKilled by signal 11(SIGSEGV).0
74ms564kbKilled by signal 11(SIGSEGV).0
80ms564kbKilled by signal 11(SIGSEGV).0
90ms556kbKilled by signal 11(SIGSEGV).0
100ms560kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?