strange_device.cpp: In function 'int main()':
strange_device.cpp:27:38: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
27 | if(A%2==0 && s.size()==A/2) break;
| ~~~~~~~~^~~~~
strange_device.cpp:28:38: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
28 | if(A%2==1 && s.size()==A) break;
| ~~~~~~~~^~~
strange_device.cpp:30:24: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
30 | if(s.size()==A*B) break;
| ~~~~~~~~^~~~~