Submission #755856

# Submission time Handle Problem Language Result Execution time Memory
755856 2023-06-10T16:53:49 Z vjudge1 Password (RMI18_password) C++17
0 / 100
4 ms 300 KB
///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
1 Runtime error 1 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 4 ms 300 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -