제출 #1064226

#제출 시각아이디문제언어결과실행 시간메모리
1064226MarwenElarbi수천개의 섬 (IOI22_islands)C++17
1.75 / 100
18 ms4440 KiB
#include "islands.h" #include <bits/stdc++.h> using namespace std; #define pb push_back #define ll long long #define fi first #define se second std::variant<bool, std::vector<int>> find_journey( int N, int M, std::vector<int> U, std::vector<int> V) { int a=0; int b=0; for (int i = 0; i < M; ++i) { (U[i]==0 ? a : b)++; } if(a>=2&&b>=2) return true; else 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...