제출 #1070312

#제출 시각아이디문제언어결과실행 시간메모리
1070312Unforgettablepl수천개의 섬 (IOI22_islands)C++17
0 / 100
21 ms5200 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){ vector<vector<pair<int,int>>> adj(N); for(int i=0;i<M;i++) { adj[U[i]].emplace_back(V[i],i); } for(int i=0;i<N;i++)if(adj[i].size()>2)return true; return false; }
#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...