| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 312135 | blue | 콤보 (IOI18_combo) | C++11 | 4 ms | 328 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 "combo.h"
#include <string>
using namespace std;
string guess_sequence(int N)
{
for(string A:{"A", "B", "X", "Y"})
{
for(string B:{"A", "B", "X", "Y"})
{
if(A == B) continue;
for(string C:{"A", "B", "X", "Y"})
{
if(A == C) continue;
if(press(A+B+C) == 3) return A+B+C;
}
}
}
}
Compilation message (stderr)
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
