This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 << n << '\n';
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |