제출 #1257623

#제출 시각아이디문제언어결과실행 시간메모리
1257623EntityPlanttMagic Show (APIO24_show)C++20
5 / 100
2 ms380 KiB
#include "Alice.h" #include <vector> using namespace std; vector<pair<int, int>> Alice() { long long x = setN(5000); vector<pair<int, int>> r; for (int i = 1; i < 5001; i++) if (i != x) r.emplace_back(i, x); return r; }
#include "Bob.h" #include <vector> #include <algorithm> using namespace std; long long Bob(vector<pair<int, int>> V) { int e[4] = {V[0].first, V[0].second, V[1].first, V[1].second}; sort(e, e + 4); return e[0] == e[1] ? e[1] : e[2]; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...