제출 #1074664

#제출 시각아이디문제언어결과실행 시간메모리
1074664Nicolaikrob수천개의 섬 (IOI22_islands)C++17
0 / 100
17 ms3236 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) { int b1 = 0, b2 = 0; for(auto x : U) { b1 |= (x == 0); b2 |= (x == 1); } return (b1 && b2); if (N == 4) { return std::vector<int>({0, 1, 2, 4, 0, 3, 2, 1, 4, 3}); } 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...