# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
782818 | makanhulia | The Xana coup (BOI21_xanadu) | C++17 | 52 ms | 2400 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 <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll MAXN = 1e5 + 5;
ll n, ans = 0, val[MAXN];
bool flag = true;
ll cek(ll a, ll b, ll c) {
if (a == 1) {
if (b == 1) {
if (c == 1) {
return 2;
} else {
return 4;
}
} else {
if (c == 1) {
return 5;
} else {
return 3;
}
}
} else {
if (b == 1) {
if (c == 1) {
return 1;
} else {
return 7;
}
# | 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... |