Borderou de evaluare (job #1569960)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 16 ianuarie 2016 01:27:08
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:38:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &d[i], &c[i]); ^ user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:34:12: warning: unused variable ‘nr’ [-Wunused-variable] int n, i, nr, j, p, k,x1,y1; ^ user.cpp:34:16: warning: unused variable ‘j’ [-Wunused-variable] int n, i, nr, j, p, k,x1,y1; ^ user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &p, &k); ^ user.cpp:38:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &d[i], &c[i]); ^ user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x1, &y1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbKilled by signal 11(SIGSEGV).0
20ms400kbKilled by signal 11(SIGSEGV).0
30ms400kbKilled by signal 11(SIGSEGV).0
40ms400kbKilled by signal 11(SIGSEGV).0
50ms400kbKilled by signal 11(SIGSEGV).0
60ms400kbKilled by signal 11(SIGSEGV).0
70ms400kbKilled by signal 11(SIGSEGV).0
80ms404kbKilled by signal 11(SIGSEGV).0
90ms404kbKilled by signal 11(SIGSEGV).0
100ms400kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?