Submission #173520

#TimeUsernameProblemLanguageResultExecution timeMemory
173520mosiashvililukaXoractive (IZhO19_xoractive)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> using namespace std; vector <int> guess(int n){ vector <int> v; for(int i=1; i<=n; i++){ v.push_back(ask(i)); } return v; }

Compilation message (stderr)

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