# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
312130 |
2020-10-12T12:27:21 Z |
blue |
Combo (IOI18_combo) |
C++11 |
|
0 ms |
0 KB |
#include "combo.h"
#include <string>
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
combo.cpp:4:1: error: 'string' does not name a type; did you mean 'stdin'?
4 | string guess_sequence(int N)
| ^~~~~~
| stdin