foo.cc: In function 'int main()':
foo.cc:11:4: error: break statement not within loop or switch
11 | break;
| ^~~~~
foo.cc:12:3: error: case label '89' not within a switch statement
12 | case 89:
| ^~~~
foo.cc:13:3: error: case label '80' not within a switch statement
13 | case 80:
| ^~~~
foo.cc:15:4: error: break statement not within loop or switch
15 | break;
| ^~~~~
foo.cc:16:3: error: case label '79' not within a switch statement
16 | case 79:
| ^~~~
foo.cc:17:3: error: case label '70' not within a switch statement
17 | case 70:
| ^~~~
foo.cc:19:4: error: break statement not within loop or switch
19 | break;
| ^~~~~
foo.cc:20:3: error: case label '69' not within a switch statement
20 | case 69:
| ^~~~
foo.cc:21:3: error: case label '60' not within a switch statement
21 | case 60:
| ^~~~
foo.cc:23:4: error: break statement not within loop or switch
23 | break;
| ^~~~~
foo.cc:24:3: error: case label not within a switch statement
24 | default:
| ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务