Pagini recente » Borderou de evaluare (job #216914) | Borderou de evaluare (job #1298992) | Borderou de evaluare (job #2187003) | Borderou de evaluare (job #1788148) | Borderou de evaluare (job #1214932)
Borderou de evaluare (job #1214932)
Raport evaluator
Compilare:
user.cpp: In function ‘bool rectangle(int, int, int&, int&)’:
user.cpp:24:15: warning: unused variable ‘newi’ [-Wunused-variable]
int i, j, newi, newj, k;
^
user.cpp:24:21: warning: unused variable ‘newj’ [-Wunused-variable]
int i, j, newi, newj, k;
^
user.cpp:24:27: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, newi, newj, k;
^
user.cpp: In function ‘int main()’:
user.cpp:77:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &a[i][j]);
^
user.cpp:72:21: warning: unused variable ‘i1’ [-Wunused-variable]
int n, m, i, j, i1, j1;
^
user.cpp:72:25: warning: unused variable ‘j1’ [-Wunused-variable]
int n, m, i, j, i1, j1;
^
user.cpp:70:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri2.in", "r", stdin);
^
user.cpp:71:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri2.out", "w", stdout);
^
user.cpp:74:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:77:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK! | 10 |
2 | 8ms | 628kb | OK! | 10 |
3 | 44ms | 1248kb | OK! | 10 |
4 | 24ms | 1256kb | OK! | 10 |
5 | 172ms | 2240kb | OK! | 10 |
6 | 168ms | 2224kb | OK! | 10 |
7 | 4ms | 600kb | OK! | 10 |
8 | 0ms | 468kb | OK! | 10 |
9 | 380ms | 2264kb | OK! | 10 |
10 | 0ms | 292kb | OK! | 10 |
Punctaj total | 100 |