Submission #1070312

#TimeUsernameProblemLanguageResultExecution timeMemory
1070312UnforgettableplThousands Islands (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...