Submission #173520

# Submission time Handle Problem Language Result Execution time Memory
173520 2020-01-04T12:16:55 Z mosiashvililuka Xoractive (IZhO19_xoractive) C++14
Compilation error
0 ms 0 KB
#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

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));
               ^~~