제출 #827792

#제출 시각아이디문제언어결과실행 시간메모리
827792Supersonic열쇠 (IOI21_keys)C++17
0 / 100
0 ms212 KiB
#include <vector> #include <bits/stdc++.h> using namespace std; std::vector<int> find_reachable(std::vector<int> r, std::vector<int> u, std::vector<int> v, std::vector<int> c) { int n=r.size(); vector<int> ans; for(int i=0;i<n;i++){ if(r[i]!=0)ans.push_back(i); } if(ans.empty())for(int i=0;i<n;i++)ans.push_back(i); return ans; }
#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...