# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
839352 | amunduzbaev | Thousands Islands (IOI22_islands) | C++17 | 1 ms | 568 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "islands.h"
#include "bits/stdc++.h"
using namespace std;
#define ar array
typedef long long ll;
//~ #defint int ll
variant<bool, vector<int>> find_journey(int n, int m, vector<int> u, vector<int> v) {
if(n == 2){
ar<int, 2> cc {};
for(int i=0;i<m;i++){
cc[u[i]]++;
}
if(cc[0] >= 2 && cc[1] >= 1){
return {};
} else {
return false;
}
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |