Borderou de evaluare (job #1695720)

Utilizator Coroian_DavidCoroian David Coroian_David Data 27 aprilie 2016 18:30:27
Problema Tsunami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d%d%d", &n, &m, &h); ^ user.cpp:45:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:45:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:49:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d", &a[i][j]); ^ user.cpp:45:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d", &n, &m, &h); ^ user.cpp:49:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms392kbKilled by signal 11(SIGSEGV).0
20ms392kbKilled by signal 11(SIGSEGV).0
30ms392kbKilled by signal 11(SIGSEGV).0
40ms392kbKilled by signal 11(SIGSEGV).0
50ms392kbKilled by signal 11(SIGSEGV).0
60ms388kbKilled by signal 11(SIGSEGV).0
70ms388kbKilled by signal 11(SIGSEGV).0
80ms388kbKilled by signal 11(SIGSEGV).0
90ms392kbKilled by signal 11(SIGSEGV).0
100ms392kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?