Submission #1074097

#TimeUsernameProblemLanguageResultExecution timeMemory
1074097ZicrusThousands Islands (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...