stones.cpp: In function 'void solve(long long int)':
stones.cpp:45:28: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::set<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if(s1.size() > 1 && val == s1.size() || cl > cr || cr == 1)cout << ">\n";
| ~~~~^~~~~~~~~~~~
stones.cpp:45:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
45 | if(s1.size() > 1 && val == s1.size() || cl > cr || cr == 1)cout << ">\n";
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
stones.cpp:49:28: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::set<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | if(s2.size() > 1 && val == s2.size() || cr > cl || cl == 1)cout << "<\n";
| ~~~~^~~~~~~~~~~~
stones.cpp:49:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
49 | if(s2.size() > 1 && val == s2.size() || cr > cl || cl == 1)cout << "<\n";
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
stones.cpp:17:9: warning: unused variable 'j' [-Wunused-variable]
17 | int i, j;
| ^