overtaking.cpp: In function 'void init(int, int, std::vector<long long int>, std::vector<int>, int, int, std::vector<int>)':
overtaking.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for (int i = 0; i < TW.size(); i++)
| ~~^~~~~~~~~~~
overtaking.cpp:61:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for (int i = 0; i < TW.size(); i++)
| ~~^~~~~~~~~~~
overtaking.cpp:71:68: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | if (SS[j].size() == 0 || SS[j].back().w != b && (i + 1 == TW.size() || TW[i].t != TW[i + 1].t))
| ~~~~~~^~~~~~~~~~~~
overtaking.cpp:71:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
71 | if (SS[j].size() == 0 || SS[j].back().w != b && (i + 1 == TW.size() || TW[i].t != TW[i + 1].t))
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
overtaking.cpp:80:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for (int i = 0; i < TW.size(); i++)
| ~~^~~~~~~~~~~
overtaking.cpp:86:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | for (int i = 0; i < TW.size(); i++)
| ~~^~~~~~~~~~~
overtaking.cpp:97:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
97 | if (m == SS[j + 1].size())
| ~~^~~~~~~~~~~~~~~~~~~
overtaking.cpp:111:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | if (l < SS[j + 1].size() && b < SS[j + 1][l].w)
| ~~^~~~~~~~~~~~~~~~~~
overtaking.cpp: In function 'long long int arrival_time(long long int)':
overtaking.cpp:133:15: 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]
133 | if (m == arr.size())
| ~~^~~~~~~~~~~~~
overtaking.cpp:162:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
162 | if (l == arr[i].size())
| ~~^~~~~~~~~~~~~~~~