crocodile.cpp:15:11: error: expected ',' or '...' before numeric constant
15 | #define N 200010
| ^~~~~~
crocodile.cpp:32:21: note: in expansion of macro 'N'
32 | int travel_plan(int N, int M, int R[][2], int L[], int K, int P[])
| ^
crocodile.cpp: In function 'int travel_plan(int)':
crocodile.cpp:34:16: error: 'M' was not declared in this scope
34 | n = N, m = M, k = K;
| ^
crocodile.cpp:34:23: error: 'K' was not declared in this scope
34 | n = N, m = M, k = K;
| ^
crocodile.cpp:37:17: error: 'R' was not declared in this scope
37 | int a = R[i][0], b = R[i][1], c = L[i];
| ^
crocodile.cpp:39:18: error: 'b' was not declared in this scope
39 | E[a].pb({b, c});
| ^
crocodile.cpp:39:21: error: 'c' was not declared in this scope
39 | E[a].pb({b, c});
| ^
crocodile.cpp:39:23: error: no matching function for call to 'std::vector<std::pair<int, int> >::push_back(<brace-enclosed initializer list>)'
39 | E[a].pb({b, c});
| ^
In file included from /usr/include/c++/10/vector:67,
from crocodile.cpp:8:
/usr/include/c++/10/bits/stl_vector.h:1187:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1187 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1187:35: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const std::pair<int, int>&'}
1187 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_vector.h:1203:7: note: candidate: 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::value_type = std::pair<int, int>]'
1203 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1203:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<std::pair<int, int> >::value_type&&' {aka 'std::pair<int, int>&&'}
1203 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
crocodile.cpp:46:17: error: 'P' was not declared in this scope
46 | int x = P[i];
| ^