제출 #749733

#제출 시각아이디문제언어결과실행 시간메모리
749733mohav48173수천개의 섬 (IOI22_islands)C++17
6.75 / 100
33 ms4424 KiB
//#include "islands.h" #include<bits/stdc++.h> using namespace std; variant<bool, vector<int>> find_journey(int n, int m, vector<int> u, vector<int> v) { if(n==2) { vector<int>first,second; for(int i=0; i<m; i++) { if(u[i]==0 && v[i]==1)first.push_back(i); else second.push_back(i); } if(first.size()>1 && second.size()>0) { vector<int>ans= {first[0],second[0],first[1],first[0],second[0],first[1]}; return ans; } else return false; } return true; }
#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...