Submission #546510

#TimeUsernameProblemLanguageResultExecution timeMemory
546510srivatsav_kannanCombo (IOI18_combo)C++14
0 / 100
1 ms208 KiB
#include <iostream>
#include <fstream>
#include <vector>
#include <set>
#include <queue>
#include <cmath>
#include <map>
#include <algorithm>
#include <numeric>
#include <stack>
#include <cstring>
#include <bitset>
#include <climits>
#include <valarray>
#include <list>
#include "combo.h"
#define int long long
#define INF 1000000000
#define endl '\n'
#define mod 1000000007
using namespace std;
string guess_sequence(signed n){
    string ans;
    string ar[4] = {"A", "B", "X", "Y"};
    for (int i = 0; i < n; i++){
        for (int i = 0; i < 4; i++) if (press(ar[i]) == 1) ans += ar[i];
    }
    return ans;
}
//signed main(){
//    ios_base::sync_with_stdio(false);
//    cin.tie(0);
//    cout.tie(0);
//
//}

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