Borderou de evaluare (job #2129801)

Utilizator ana.pintiliciucAna Maria Pintiliciuc ana.pintiliciuc Data 13 februarie 2018 09:38:07
Problema Casa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:94:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d ", &mat[i][j]); ^ user.cpp:78:24: warning: unused variable ‘d’ [-Wunused-variable] int n,m, nr=0, d=0,inc; ^ user.cpp:78:28: warning: unused variable ‘inc’ [-Wunused-variable] int n,m, nr=0, d=0,inc; ^ user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("case.in", "r", stdin); ^ user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("casa.out", "w", stdout); ^ user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p); ^ user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr); ^ user.cpp:32:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c", &c, &b); ^ user.cpp:79:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:94:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms936kbKilled by signal 11(SIGSEGV).0
20ms864kbKilled by signal 11(SIGSEGV).0
30ms796kbKilled by signal 11(SIGSEGV).0
40ms864kbKilled by signal 11(SIGSEGV).0
50ms856kbKilled by signal 11(SIGSEGV).0
60ms756kbKilled by signal 11(SIGSEGV).0
70ms756kbKilled by signal 11(SIGSEGV).0
80ms752kbKilled by signal 11(SIGSEGV).0
90ms936kbKilled by signal 11(SIGSEGV).0
100ms800kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?