제출 #736361

#제출 시각아이디문제언어결과실행 시간메모리
736361jk410수천개의 섬 (IOI22_islands)C++17
5 / 100
32 ms5180 KiB
#include "islands.h" #include <bits/stdc++.h> using namespace std; int n; vector<int> edge[2]; variant<bool, vector<int>> find_journey(int _n, int m, vector<int> u, vector<int> v) { n = _n; for (int i = 0; i < m; i++) edge[u[i]].push_back(i); if ((int)edge[0].size() < 2 || (int)edge[1].size() < 1) return false; return vector<int>({edge[0][0],edge[1][0],edge[0][1],edge[0][0],edge[1][0],edge[0][1]}); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...