Submission #757934

#TimeUsernameProblemLanguageResultExecution timeMemory
757934SanguineChameleonArchery (IOI09_archery)C++17
4 / 100
38 ms6272 KiB
#include <bits/stdc++.h> using namespace std; void just_do_it(); int main() { #ifdef KAMIRULEZ freopen("kamirulez.inp", "r", stdin); freopen("kamirulez.out", "w", stdout); #endif ios_base::sync_with_stdio(0); cin.tie(0); just_do_it(); return 0; } const int maxN = 2e5 + 20; int a[maxN * 2]; int N, R, K; void just_do_it() { cin >> N >> R >> K; for (int i = 1; i <= N * 2 - 1; i++) { cin >> a[i]; } if (N == 1) { cout << 1; return; } if (K == 1) { cout << N; return; } if (K == N * 2) { cout << 2; return; } assert(false); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...