Submission #1074251

#TimeUsernameProblemLanguageResultExecution timeMemory
1074251fv3Thousands Islands (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...