Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1024 成绩等级
语言
C++
递交时间
2022-01-20 11:54:40
评测时间
2022-01-20 11:54:40
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes