제출 #1074251

#제출 시각아이디문제언어결과실행 시간메모리
1074251fv3수천개의 섬 (IOI22_islands)C++17
3.50 / 100
33 ms4436 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) { int cnt1 = 0, cnt2 = 0; for (int i = 0; i < M; i++) { if (U[i]) cnt2++; else cnt1++; } if (cnt1 <= 1 || cnt2 == 0) return false; return vector<int>({0}); }
#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...