Borderou de evaluare (job #1120508)

Utilizator manutrutaEmanuel Truta manutruta Data 25 februarie 2014 01:07:20
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d %d %d\n", &n, &p, &k); ^ user.cpp:52:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:52:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:54:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f, "%d %d\n", &d[i], &c[i]); ^ user.cpp:54:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:11:13: warning: overflow in implicit constant conversion [-Woverflow] #define INF 0x3f3f3f3f ^ user.cpp:67:16: note: in expansion of macro ‘INF’ short mn = INF; ^ user.cpp:52:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d\n", &n, &p, &k); ^ user.cpp:54:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &d[i], &c[i]); ^ user.cpp:57:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms544kbKilled by signal 11(SIGSEGV).0
20ms552kbKilled by signal 11(SIGSEGV).0
38ms544kbKilled by signal 11(SIGSEGV).0
40ms544kbKilled by signal 11(SIGSEGV).0
58ms544kbKilled by signal 11(SIGSEGV).0
60ms552kbKilled by signal 11(SIGSEGV).0
70ms548kbKilled by signal 11(SIGSEGV).0
80ms544kbKilled by signal 11(SIGSEGV).0
90ms544kbKilled by signal 11(SIGSEGV).0
1012ms552kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?