Submission #825703

#TimeUsernameProblemLanguageResultExecution timeMemory
825703ikura355Thousands Islands (IOI22_islands)C++17
1.75 / 100
22 ms3396 KiB
#include "islands.h" #include <variant> #include <vector> std::variant<bool, std::vector<int>> find_journey(int N, int M, std::vector<int> U, std::vector<int> V) { // Subtask 1 if (N == 2) { int count = 0; for (auto u : U) { if (u == 0) count += 1; } return count >= 2 && M - count >= 1; } return false; }
#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...