Submission #344519

# Submission time Handle Problem Language Result Execution time Memory
344519 2021-01-06T04:51:06 Z koketsu Xoractive (IZhO19_xoractive) C++14
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
#define pb push_back
#define LL long long
#define Kultivator ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);

using namespace std;

const LL Mxn = 1e6 + 7;
const LL Mod = 1e9 + 7;
const LL Inf = 1e14 + 7;

vector <int> guess(int N){
    vector <int> Ans;
    for(int i = 1; i <= N; i++){
        Ans.pb(ask(i));
    }
    return Ans;
}

int main() {
    //Kultivator;
    
}

Compilation message

Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:15:16: error: 'ask' was not declared in this scope
   15 |         Ans.pb(ask(i));
      |                ^~~