#include <bits/stdc++.h>
using namespace std;
#define N 200000
unsigned rk[N << 1];
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
size_t n, r;
cin >> n >> r;
for (size_t i = 0; i < 2 * n; i++)
cin >> rk[i];
if (rk[0] == 1)
{
cout << 1 << '\n';
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
212 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
3 |
Incorrect |
0 ms |
212 KB |
Output isn't correct |
4 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
5 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
6 |
Incorrect |
0 ms |
212 KB |
Output isn't correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
212 KB |
Output isn't correct |
2 |
Incorrect |
0 ms |
212 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
4 |
Incorrect |
3 ms |
596 KB |
Output isn't correct |
5 |
Incorrect |
34 ms |
3844 KB |
Output isn't correct |
6 |
Incorrect |
0 ms |
212 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
340 KB |
Output isn't correct |
8 |
Incorrect |
3 ms |
596 KB |
Output isn't correct |
9 |
Incorrect |
3 ms |
732 KB |
Output isn't correct |
10 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
11 |
Incorrect |
3 ms |
632 KB |
Output isn't correct |
12 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
13 |
Incorrect |
17 ms |
2856 KB |
Output isn't correct |
14 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
15 |
Incorrect |
5 ms |
852 KB |
Output isn't correct |
16 |
Incorrect |
0 ms |
212 KB |
Output isn't correct |
17 |
Incorrect |
1 ms |
344 KB |
Output isn't correct |
18 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
19 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
20 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
21 |
Incorrect |
3 ms |
652 KB |
Output isn't correct |
22 |
Incorrect |
5 ms |
880 KB |
Output isn't correct |
23 |
Incorrect |
25 ms |
3988 KB |
Output isn't correct |
24 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
25 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
26 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
27 |
Incorrect |
3 ms |
724 KB |
Output isn't correct |
28 |
Incorrect |
18 ms |
2892 KB |
Output isn't correct |
29 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
30 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
31 |
Incorrect |
4 ms |
612 KB |
Output isn't correct |
32 |
Incorrect |
25 ms |
3888 KB |
Output isn't correct |
33 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
34 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
35 |
Incorrect |
1 ms |
348 KB |
Output isn't correct |
36 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
37 |
Incorrect |
3 ms |
596 KB |
Output isn't correct |
38 |
Incorrect |
4 ms |
728 KB |
Output isn't correct |
39 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
40 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
41 |
Incorrect |
1 ms |
344 KB |
Output isn't correct |
42 |
Incorrect |
1 ms |
348 KB |
Output isn't correct |
43 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
44 |
Incorrect |
2 ms |
476 KB |
Output isn't correct |
45 |
Incorrect |
3 ms |
596 KB |
Output isn't correct |
46 |
Incorrect |
4 ms |
712 KB |
Output isn't correct |
47 |
Incorrect |
28 ms |
4480 KB |
Output isn't correct |