| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1348325 | miyazaki1072 | Combo (IOI18_combo) | C++20 | 1 ms | 412 KiB |
#include "combo.h"
#include <bits/stdc++.h>
using namespace std;
std::string guess_sequence(int N) {
string ans,p;
if(press("AB")){
if(press("A"))ans="A",p="BXY";
else ans="B",p="AXY";
}
else{
if(press("X"))ans="X",p="ABY";
else ans="Y",p="ABX";
}
if(N==1){
return ans;
}
}
Compilation message (stderr)
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
