| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 797639 | HunterXD | 수천개의 섬 (IOI22_islands) | C++17 | 26 ms | 5164 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
typedef int ll;
typedef vector<ll> vl;
typedef vector<vl> vll;
#define pb push_back
#define nd '\n';
variant<bool, vl> find_journey(ll n, ll m, vl u, vl v) {
vl ans;
if (n == 2) {
vl grid[n][n];
for (ll i = 0; i < m; i++) {
grid[u[i]][v[i]].pb(i);
}
if (grid[0][1].size() >= 2 && grid[1][0].size() >= 1) {
ans.pb(grid[0][1][0]);
ans.pb(grid[1][0][0]);
ans.pb(grid[0][1][1]);
ans.pb(grid[0][1][0]);
ans.pb(grid[1][0][0]);
ans.pb(grid[0][1][1]);
return ans;
}
}
return false;
}| # | 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... | ||||
