/in/foo.cc: In function 'void round(int, int)':
/in/foo.cc:10:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < str.size(); ++i) {
~~^~~~~~~~~~~~
/in/foo.cc:15:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(w == left && l < right || l == left && w < right) {
~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:19:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(w >= left && l >= right || l >= left && w >= right) {
~~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:20:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(w == 10 && l == right || l == left && w == right) continue;
~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:15: error: 'round1' was not declared in this scope
round1(10, 11);
^
/in/foo.cc:34:15: error: 'round2' was not declared in this scope
round2(20, 21);
^