| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 702585 | Muaath_5 | Coins (IOI17_coins) | C++17 | 9 ms | 1552 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 <vector>
std::vector<int> coin_flips(std::vector<int> b, int c) {
if (c == 0) {
if (b[0] == 0)
return { 0 };
return { 63 };
}
else { // c == 1
if (b[0] == 1)
return { 0 };
return { 63 };
}
}
int find_coin(std::vector<int> b) {
return b[0] == 1 ? 0 : 1;
}
| # | 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... | ||||
