Submission #603229

# Submission time Handle Problem Language Result Execution time Memory
603229 2022-07-23T17:26:35 Z Ozy Xoractive (IZhO19_xoractive) C++17
0 / 100
1 ms 336 KB
#include "interactive.h"
using namespace std;

vector<int> guess(int n) {
	vector <int> ans;
	ans.resize(4);
	ans[0]= ask(1);
	ans[1]= ask(2);
	ans[2]= ask(3);
	ans[3]= ask(4);
}

Compilation message

Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 336 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 336 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -