제출 #1057782

#제출 시각아이디문제언어결과실행 시간메모리
1057782mychecksedad수천개의 섬 (IOI22_islands)C++17
6.75 / 100
17 ms4452 KiB
#include "islands.h" #include <bits/stdc++.h> using namespace std; #define pb push_back #define en cout << '\n' #define all(x) x.begin(),x.end() #define pii pair<int,int> #define vi vector<int> int n, m; std::variant<bool, std::vector<int>> find_journey(int nn, int mm, std::vector<int> U, std::vector<int> V) { n=nn, m=mm; vector<vi> C(nn); for(int i = 0; i < mm; ++i){ C[U[i]].pb(i); } if(!(C[0].size() > 1 && C[1].size() > 0)) return false; return vi{C[0][0], C[1][0], C[0][1], C[0][0], C[1][0], C[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...