제출 #1074097

#제출 시각아이디문제언어결과실행 시간메모리
1074097Zicrus수천개의 섬 (IOI22_islands)C++17
3.50 / 100
22 ms4440 KiB
#include <bits/stdc++.h> #include "islands.h" using namespace std; typedef long long ll; variant<bool, vector<int>> find_journey(int N, int M, vector<int> U, vector<int> V) { ll cnt0 = 0, cnt1 = 0; for (auto &e : U) (e ? cnt1 : cnt0)++; return cnt0 >= 2 && cnt1 >= 1; } #ifdef TEST #include "grader.cpp" #endif
#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...