Submission #555418

#TimeUsernameProblemLanguageResultExecution timeMemory
555418PietraCombo (IOI18_combo)C++14
5 / 100
1 ms208 KiB
#include "combo.h"
#include<bits/stdc++.h>

using namespace std ; 

string guess_sequence(int N) {

  vector<string> s = {"A", "B", "X", "Y"} ; 
  string sat = "" ;

  for(string a : s){
    for(string b : s){
      for(string c : s){
        if(press(a+b+c) == 3) return a+b+c ; 
      }
    }
  }

  return sat ; 

}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...