Submission #1076056

#TimeUsernameProblemLanguageResultExecution timeMemory
1076056BoasThousands Islands (IOI22_islands)C++17
3.50 / 100
21 ms4444 KiB
#include "islands.h" #include <bits/stdc++.h> using namespace std; #define pb push_back #define loop(x, i) for (int i = 0; i < x; i++) #define ALL(x) begin(x), end(x) typedef pair<int, int> ii; typedef vector<ii> vii; typedef vector<int> vi; typedef vector<vi> vvi; variant<bool, vi> find_journey(int N, int M, vi U, vi V) { int heen = 0, terug = 0; loop(M, i) { if (U[i] == 0) heen++; else terug++; } return heen >= 2 && terug >= 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...