Problem nerdinvitation
User WILLI1071A
Submission Time 2024-08-05 16:20:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nerdinvitation.cpp:3:1: error: ‘define’ does not name a type
3 | define int long long;
| ^~~~~~
nerdinvitation.cpp: In function ‘int main()’:
nerdinvitation.cpp:8:2: error: expected initializer before ‘int’
8 | int difference = INT_MAX;
| ^~~
nerdinvitation.cpp:11:18: error: ‘N’ was not declared in this scope
11 | for(int i = 0;i<N;i++){
| ^
nerdinvitation.cpp:14:3: error: ‘routes’ was not declared in this scope
14 | routes[n] = e-s;
| ^~~~~~
nerdinvitation.cpp:15:25: error: ‘difference’ was not declared in this scope
15 | if(abs(routes[n]-m) < difference){
| ^~~~~~~~~~