Submission #1040774

# Submission time Handle Problem Language Result Execution time Memory
1040774 2024-08-01T09:05:47 Z 정희우(#10998) Tricks of the Trade (CEOI23_trade) C++17
Compilation error
0 ms 0 KB
#include "avoid.h"
#include<iostream>
#include<algorithm>
#include<vector>

using namespace std;
using lint = long long;
using intp = pair<int,int>;
using vint = vector<int>;

intp scout(int R, int H)
{
	for(int i=0;i<10;i++)
	{
		vint v;
		v.clear();
		for(int p=1;p<=1000;p++)
			if((p>>i)&1)v.push_back(p);
		send(v);
	}
	vint w=wait();
	int ans=0;
	for(int i=0;i<10;i++)
		ans+=w[i]<<i;
	return {ans, ans};
}

Compilation message

trade.cpp:1:10: fatal error: avoid.h: No such file or directory
    1 | #include "avoid.h"
      |          ^~~~~~~~~
compilation terminated.