제출 #375261

#제출 시각아이디문제언어결과실행 시간메모리
375261Edbert2397콤보 (IOI18_combo)C++14
0 / 100
1 ms200 KiB
#include "combo.h" #include<bits/stdc++.h> using namespace std; string temp; std::string guess_sequence(int N) { char s[4] = {'A','B','X','Y'}; do{ string p = ""; for(int i = 0;i<N;i++){ p += s[i]; } int coins = press(p); if(coins == N){ return p; } }while(next_permutation(s,s + 4)); return temp; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...