bitaro.cpp: In function 'void calc(int, int)':
bitaro.cpp:42:6: warning: unused variable 'p' [-Wunused-variable]
42 | int p = 0;
| ^
bitaro.cpp: In function 'void Baizho()':
bitaro.cpp:72:44: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
72 | for(int j = mx; j >= 0 && save[i].size() < block;) {
| ~~~~~~~~~~~~~~~^~~~~~~
bitaro.cpp:81:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | if(p + 1 < save[to].size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:88:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | if(lpos[to] < save[to].size()) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:92:21: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
92 | if(save[i].size() < block) save[i].pb({0, i});
| ~~~~~~~~~~~~~~~^~~~~~~
bitaro.cpp:108:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | for(int j = 0; j < save[t].size(); j ++) {
| ~~^~~~~~~~~~~~~~~~
bitaro.cpp: In function 'void Freopen(std::string)':
bitaro.cpp:35:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | void Freopen(string Key){ freopen((Key+".in").c_str(), "r", stdin); freopen((Key+".out").c_str(), "w", stdout); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:35:76: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | void Freopen(string Key){ freopen((Key+".in").c_str(), "r", stdin); freopen((Key+".out").c_str(), "w", stdout); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~