Problem | nerdinvitation |
---|---|
User | WILLI1071A |
Submission Time | 2024-08-05 16:18:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nerdinvitation.cpp: In function ‘int main()’:
nerdinvitation.cpp:3:13: error: expected initializer before ‘long’
3 | #define int long long
| ^~~~
nerdinvitation.cpp:8:2: note: in expansion of macro ‘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){
| ^~~~~~~~~~