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:78: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]
78 | if(p + 1 < save[to].size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:85: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]
85 | if(lpos[to] < save[to].size()) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:89: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]
89 | if(save[i].size() < block) save[i].pb({0, i});
| ~~~~~~~~~~~~~~~^~~~~~~
bitaro.cpp:105: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]
105 | 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); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~