| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 566051 | piOOE | ICC (CEOI16_icc) | C++17 | 1 ms | 596 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "icc.h"
#include <bits/stdc++.h>
using namespace std;
#define all(x) begin(x), end(x)
#define sz(x) ((int)size(x))
#define trace(x) cout << #x << ": " << (x) << endl;
typedef long long ll;
void run(int n) {
vector<vector<bool>> ws(n, vector<bool>(n));
for (int cnt = 1; cnt <= n - 1; ++cnt) {
for (int i = 1; i <= n; ++i) {
bool ok = false;
for (int j = i + 1; j <= n; ++j) {
if (!ws[i - 1][j - 1] && query(1, 1, reinterpret_cast<int *>(i), reinterpret_cast<int *>(j))) {
ws[i - 1][j - 1] = true;
setRoad(i, j);
ok = true;
break;
}
}
if (ok) {
break;
}
}
}
}| # | 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... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
