Submission #781284

#TimeUsernameProblemLanguageResultExecution timeMemory
781284OrazBThe Big Prize (IOI17_prize)C++14
Compilation error
0 ms0 KiB
#include <bit/stdc++.h>
#include "prize.h"

int find_best(int n) {
	int l = 0, r = n;
	while(l <= r){
		int md = (l+r)/2;
		vector<int> a = ask(md);
		if (a[0] == a[1]) return md;
		if (a[0] > a[1]) r = md - 1;
		else l = md + 1;
	}
}

Compilation message (stderr)

prize.cpp:1:10: fatal error: bit/stdc++.h: No such file or directory
    1 | #include <bit/stdc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.