Submission #1037606

#TimeUsernameProblemLanguageResultExecution timeMemory
1037606thinknoexitThousands Islands (IOI22_islands)C++17
3.50 / 100
19 ms3552 KiB
#include "islands.h" #include <bits/stdc++.h> using namespace std; using ll = long long; int cnt[2]; variant<bool, vector<int>> find_journey(int N, int M, vector<int> U, vector<int> V) { for (int i = 0;i < M;i++) cnt[U[i]]++; if (cnt[0] < 2 || cnt[1] < 1) return false; return true; }
#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...