记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:6: error: case label ''A'' not within a switch statement
      case 'A':
      ^~~~
/in/foo.cc:15:7: error: break statement not within loop or switch
       break;
       ^~~~~
/in/foo.cc:16:6: error: case label ''B'' not within a switch statement
      case 'B':
      ^~~~
/in/foo.cc:18:7: error: break statement not within loop or switch
       break;
       ^~~~~
/in/foo.cc:19:6: error: case label ''C'' not within a switch statement
      case 'C':
      ^~~~
/in/foo.cc:21:7: error: break statement not within loop or switch
       break;
       ^~~~~
/in/foo.cc:22:6: error: case label ''D'' not within a switch statement
      case 'D':
      ^~~~
/in/foo.cc:24:7: error: break statement not within loop or switch
       break;
       ^~~~~
/in/foo.cc:25:6: error: case label ''E'' not within a switch statement
      case 'E':
      ^~~~
/in/foo.cc:27:7: error: break statement not within loop or switch
       break;
       ^~~~~

信息

递交者
类型
递交
题目
p1026 成绩等级2
语言
C++
递交时间
2021-12-04 17:32:54
评测时间
2021-12-04 17:32:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes