Borderou de evaluare (job #1448672)

Utilizator GeiGeiGeorge Cioroiu GeiGei Data 7 iunie 2015 19:12:36
Problema Stramosi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fi, "%d%d", &n, &m); ^ user.cpp:11:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:41:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fi, "%d%d", &q, &p); ^ user.cpp:41:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:11:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d%d", &n, &m); ^ user.cpp:14:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%ld", &eb[0][i]); ^ user.cpp:41:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d%d", &q, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbKilled by signal 11(SIGSEGV).0
20ms308kbKilled by signal 11(SIGSEGV).0
30ms316kbKilled by signal 11(SIGSEGV).0
40ms352kbKilled by signal 11(SIGSEGV).0
50ms344kbKilled by signal 11(SIGSEGV).0
68ms436kbKilled by signal 11(SIGSEGV).0
720ms568kbKilled by signal 11(SIGSEGV).0
820ms700kbKilled by signal 11(SIGSEGV).0
948ms1092kbKilled by signal 11(SIGSEGV).0
1068ms1284kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?