Borderou de evaluare (job #1678285)

Utilizator Coroian_DavidCoroian David Coroian_David Data 7 aprilie 2016 10:22:16
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:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=] fscanf(f, "%d%d%d%d", &p.l, &p.c, &rez.l, &rez.c); ^ user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=] user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘unsigned char*’ [-Wformat=] user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘unsigned char*’ [-Wformat=] user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &m); ^ user.cpp:28:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &l, &col); ^ user.cpp:31:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d%d%d", &p.l, &p.c, &rez.l, &rez.c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbKilled by signal 11(SIGSEGV).0
20ms464kbKilled by signal 11(SIGSEGV).0
30ms484kbKilled by signal 11(SIGSEGV).0
40ms464kbKilled by signal 11(SIGSEGV).0
50ms468kbKilled by signal 11(SIGSEGV).0
60ms476kbKilled by signal 11(SIGSEGV).0
74ms488kbKilled by signal 11(SIGSEGV).0
80ms492kbKilled by signal 11(SIGSEGV).0
90ms516kbKilled by signal 11(SIGSEGV).0
100ms460kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?