foo.cc: In function 'int main()':
foo.cc:11:4: error: break statement not within loop or switch
11 | break;
| ^~~~~
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: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: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)提供评测服务