Submission #981007

# Submission time Handle Problem Language Result Execution time Memory
981007 2024-05-12T17:32:15 Z vjudge1 Beech Tree (IOI23_beechtree) C++17
Compilation error
0 ms 0 KB
#include "robot.h"
#include <bits/stdc++.h>
#define rep(a,b,c) for(int a=b; a<c; a++)
#define repr(a,b,c) for(int a=b-1; a>c-1; a--)
#define repa(a,b) for(auto a:b)
#define fi first
#define se second
#define pii pair<int, int>
#define pll pair<ll, ll>
#define ll long long
#define pb push_back

using namespace std;

//0 this, 1 west, 2 south, 3 east, 4 north;

void program_pulibot(){
	set_instruction({0,0,0,0,0},0,'S');
	set_instruction({0,0,0,0,-2},0,'S');
	set_instruction({0,0,0,-2,0},0,'S');
	set_instruction({0,0,0,-2,-2},0,'S');
	set_instruction({0,1,-2,0,0},1,'E');
	set_instruction({0,1,-2,0,-2},1,'E');
	set_instruction({0,1,-2,-2,0},1,'T');
	set_instruction({0,1,-2,-2,-2},1,'T');
	set_instruction({0,-2,0,0,1},1,'S');
	set_instruction({0,-2,0,0,-2},1,'S');
	set_instruction({0,-2,0,-2,1},1,'S');
	set_instruction({0,-2,0,-2,-2},1,'S'); 
	set_instruction({0,-2,-2,0,1},1,'E');
	set_instruction({0,-2,-2,0,-2},1,'E'); 
	set_instruction({0,-2,-2,-2,1},1,'T');
	set_instruction({0,-2,-2,-2,-2},1,'T');
}

Compilation message

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