Submission #1127435

#TimeUsernameProblemLanguageResultExecution timeMemory
1127435heeheeheehaawXoractive (IZhO19_xoractive)C++20
6 / 100
0 ms408 KiB
#include <bits/stdc++.h> #include "interactive.h" using namespace std; vector<int> guess(int n) { if(n <= 15) { vector <int> ans; for (int i = 1; i <= n; i++) { ans.push_back(ask(i)); } return ans; } }

Compilation message (stderr)

Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
   17 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...