railroad.cpp: In function 'void find(long long int, long long int)':
railroad.cpp:21:8: warning: unused variable 'ak2' [-Wunused-variable]
21 | ll ak2 = 1;
| ^~~
railroad.cpp: In function 'long long int plan_roller_coaster(std::vector<int>, std::vector<int>)':
railroad.cpp:11:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
42 | rep(i, dp.size()) {
| ~~~~~~~~~~~~
railroad.cpp:42:5: note: in expansion of macro 'rep'
42 | rep(i, dp.size()) {
| ^~~
railroad.cpp:11:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
48 | rep(j, dp[0].size()) {
| ~~~~~~~~~~~~~~~
railroad.cpp:48:5: note: in expansion of macro 'rep'
48 | rep(j, dp[0].size()) {
| ^~~
railroad.cpp:11:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
51 | rep(i, dp.size()) {
| ~~~~~~~~~~~~
railroad.cpp:51:5: note: in expansion of macro 'rep'
51 | rep(i, dp.size()) {
| ^~~
railroad.cpp:11:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
61 | rep(i, dp[dp.size() - 1].size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
railroad.cpp:61:5: note: in expansion of macro 'rep'
61 | rep(i, dp[dp.size() - 1].size()) {
| ^~~