Submission #1057895

#TimeUsernameProblemLanguageResultExecution timeMemory
1057895MercubytheFirstThousands Islands (IOI22_islands)C++17
1.75 / 100
20 ms3164 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 a = count(U.begin(), U.end(), 0), b = count(U.begin(), U.end(), 1); return (a >= 1 and b >= 2) or (a >= 2 and b >= 1); }
#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...