Borderou de evaluare (job #2129762)
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 |
1 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 868kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 816kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 868kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 856kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |