This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
///YOU WILL MAKE IT
#include<bits/stdc++.h>
using namespace std;
int query(string s);
string guess(int n,int s){
string cur="";
for(int j=1;j<=n;j++){
for(int i=0;i<=s;i++){
char c=i+'a';
string temp=cur;
temp+=c;
if(query(temp)==j){
//cout<<cur<<endl;
cur=temp;
break;
}
}
}
return cur;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |