Pagini recente »
Borderou de evaluare (job #802730)
|
Borderou de evaluare (job #743768)
|
Borderou de evaluare (job #540597)
|
Borderou de evaluare (job #715773)
|
Borderou de evaluare (job #765045)
Borderou de evaluare (job #765045)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | freopen("album.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:22:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | freopen("album.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'bool isOK(int, int, int)',
inlined from 'int main()' at main.cpp:66:13:
main.cpp:10:33: warning: 'x1' may be used uninitialized [-Wmaybe-uninitialized]
10 | if(a[n][i] == 1 && i == x1) ++cnt;
| ~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:47:29: note: 'x1' was declared here
47 | int x1, x2, j = 2;
| ^~
In function 'bool isOK(int, int, int)',
inlined from 'int main()' at main.cpp:66:13:
main.cpp:11:33: warning: 'x2' may be used uninitialized [-Wmaybe-uninitialized]
11 | if(a[n][i] == 1 && i == x2) ++cnt;
| ~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:47:33: note: 'x2' was declared here
47 | int x1, x2, j = 2;
| ^~
main.cpp:41:38: warning: 'x1' may be used uninitialized [-Wmaybe-uninitialized]
41 | cout << x2 << ' ' << x1;
| ^~
main.cpp:32:28: note: 'x1' was declared here
32 | int j = 2, x1, x2;
| ^~
main.cpp:41:31: warning: 'x2' may be used uninitialized [-Wmaybe-uninitialized]
41 | cout << x2 << ' ' << x1;
| ^~~
main.cpp:32:32: note: 'x2' was declared here
32 | int j = 2, x1, x2;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Pomana - puncte din oficiu
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
29 ms
|
2867 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
49 ms
|
4702 kb
|
Incorect
|
0
|
8
|
209 ms
|
16760 kb
|
Memory limit exceeded
|
0
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
15
|
1501 ms
|
770 kb
|
Time limit exceeded
|
0
|
16
|
149 ms
|
16498 kb
|
Memory limit exceeded
|
0
|
17
|
1508 ms
|
4706 kb
|
Time limit exceeded
|
0
|
18
|
1504 ms
|
4702 kb
|
Time limit exceeded
|
0
|
19
|
139 ms
|
16498 kb
|
Memory limit exceeded
|
0
|
Punctaj total
|
60
|