Borderou de evaluare (job #1600894)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 15 februarie 2016 15:10:34
Problema Livada Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d ", &a[i][0]); ^ user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%d ", &a[i][j]); ^ user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada.in","r",stdin); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada.out","w",stdout); ^ user.cpp:12:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %ld %ld", &m, &n, &p); ^ user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i][0]); ^ user.cpp:23:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i][j]); ^ user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbKilled by signal 11(SIGSEGV).0
20ms348kbOK!10
30ms236kbKilled by signal 11(SIGSEGV).0
472ms1304kbOK!10
5144ms1484kbOK!10
6252ms1256kbOK!10
7244ms1248kbOK!10
8248ms480kbOK!10
90ms236kbKilled by signal 11(SIGSEGV).0
10248ms948kbOK!10
Punctaj total70

Ceva nu functioneaza?