Borderou de evaluare (job #2129762)

Utilizator ana.pintiliciucAna Maria Pintiliciuc ana.pintiliciuc Data 13 februarie 2018 08:37:37
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:90:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d ", &mat[i][j]); ^ user.cpp:79:24: warning: unused variable ‘d’ [-Wunused-variable] int n,m, nr=0, d=0,inc; ^ user.cpp:79:28: warning: unused variable ‘inc’ [-Wunused-variable] int n,m, nr=0, d=0,inc; ^ user.cpp:21: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:22: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:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p); ^ user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr); ^ user.cpp:33: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:80: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:90: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
10ms800kbKilled by signal 11(SIGSEGV).0
20ms868kbKilled by signal 11(SIGSEGV).0
30ms864kbKilled by signal 11(SIGSEGV).0
40ms864kbKilled by signal 11(SIGSEGV).0
50ms816kbKilled by signal 11(SIGSEGV).0
60ms800kbKilled by signal 11(SIGSEGV).0
70ms796kbKilled by signal 11(SIGSEGV).0
80ms800kbKilled by signal 11(SIGSEGV).0
90ms868kbKilled by signal 11(SIGSEGV).0
100ms856kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?