记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:17: error: break statement not within loop or switch
  cout<<31<<endl;break;
                 ^~~~~
/in/foo.cc:17:2: error: case label '4' not within a switch statement
  case 4:
  ^~~~
/in/foo.cc:18:2: error: case label '6' not within a switch statement
  case 6:
  ^~~~
/in/foo.cc:19:2: error: case label '9' not within a switch statement
  case 9:
  ^~~~
/in/foo.cc:20:2: error: case label '11' not within a switch statement
  case 11:
  ^~~~
/in/foo.cc:21:17: error: break statement not within loop or switch
  cout<<30<<endl;break;
                 ^~~~~
/in/foo.cc:22:2: error: case label '2' not within a switch statement
  case 2:cout<<28<<endl;
  ^~~~

信息

递交者
类型
递交
题目
P1114 某年某月有几天
语言
C++
递交时间
2021-07-03 15:51:53
评测时间
2021-07-03 15:51:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes