Pagini recente » Borderou de evaluare (job #525439) | Borderou de evaluare (job #1284247) | Borderou de evaluare (job #1248497) | Borderou de evaluare (job #1031749) | Borderou de evaluare (job #2129764)
Borderou de evaluare (job #2129764)
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("casa.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 | 752kb | OK | 10 |
2 | 0ms | 792kb | Incorect | 0 |
3 | 4ms | 820kb | OK | 10 |
4 | 44ms | 1888kb | OK | 10 |
5 | 36ms | 1704kb | Incorect | 0 |
6 | 40ms | 1712kb | OK | 10 |
7 | 8ms | 804kb | Incorect | 0 |
8 | 16ms | 856kb | Incorect | 0 |
9 | 28ms | 1548kb | Incorect | 0 |
10 | 20ms | 1564kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |