Borderou de evaluare (job #1600811)

Utilizator maria.sinteaMaria Sintea maria.sintea Data 15 februarie 2016 14:01:49
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
10ms236kbKilled by signal 11(SIGSEGV).0
20ms344kbOK!10
30ms240kbKilled by signal 11(SIGSEGV).0
464ms1296kbOK!10
5140ms1488kbOK!10
6224ms1256kbOK!10
7244ms1252kbOK!10
8240ms472kbOK!10
90ms236kbKilled by signal 11(SIGSEGV).0
10236ms948kbOK!10
Punctaj total70

Ceva nu functioneaza?