Pagini recente » Borderou de evaluare (job #2958457) | Borderou de evaluare (job #1154159) | Borderou de evaluare (job #212969) | Borderou de evaluare (job #2353383) | Borderou de evaluare (job #2293572)
Borderou de evaluare (job #2293572)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:20: warning: unused variable 'y' [-Wunused-variable]
int n, m, x = 0, y, i, j, x1, x2, y1, y2, min1, el;
^
main.cpp:20:51: warning: unused variable 'el' [-Wunused-variable]
int n, m, x = 0, y, i, j, x1, x2, y1, y2, min1, el;
^~
main.cpp:18:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.in", "r", stdin);
^
main.cpp:19:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.out", "w", stdout);
^
main.cpp:22:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &n, &m);
^
main.cpp:61:13: warning: 'y2' may be used uninitialized in this function [-Wmaybe-uninitialized]
b[x2][y2] = 1;
~~~~~~~~~~^~~
main.cpp:45:13: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized]
a[x1][y1] = 1;
~~~~~~~~~~^~~
main.cpp:61:13: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
b[x2][y2] = 1;
~~~~~~~~~~^~~
main.cpp:45:13: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
a[x1][y1] = 1;
~~~~~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 50 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 262kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 | 50 |
7 | 3ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |