/in/foo.cc: In function 'int main()':
/in/foo.cc:7:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
7 | for(a<=60&&b>=60||b<=60&&a>=60)
| ~~~~~^~~~~~~
/in/foo.cc:7:39: error: expected ';' before ')' token
7 | for(a<=60&&b>=60||b<=60&&a>=60)
| ^
| ;
/in/foo.cc:7:25: warning: statement has no effect [-Wunused-value]
7 | for(a<=60&&b>=60||b<=60&&a>=60)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/in/foo.cc:9:9: error: expected primary-expression before 'else'
9 | else
| ^~~~
/in/foo.cc:8:19: error: expected ';' before 'else'
8 | cout<<"1";
| ^
| ;
9 | else
| ~~~~
/in/foo.cc:9:9: error: expected primary-expression before 'else'
9 | else
| ^~~~
/in/foo.cc:8:19: error: expected ')' before 'else'
8 | cout<<"1";
| ^
| )
9 | else
| ~~~~
/in/foo.cc:7:12: note: to match this '('
7 | for(a<=60&&b>=60||b<=60&&a>=60)
| ^
/in/foo.cc:9:9: error: expected primary-expression before 'else'
9 | else
| ^~~~