记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   17 |  else
      |  ^~~~
/in/foo.cc:19:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   19 |         if(month==4||month==6||month==9||month==11)
      |         ^~
/in/foo.cc:21:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   21 |         else
      |         ^~~~
/in/foo.cc:26:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   26 |                 cout<<day<<endl;
      |                 ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Accepted 2ms 396.0 KiB
#3 Accepted 2ms 480.0 KiB
#4 Accepted 1ms 472.0 KiB
#5 Accepted 2ms 532.0 KiB

信息

递交者
类型
递交
题目
A1-3 分支结构练习:月份天数
比赛
2025程序设计与竞赛作业赛第一场(整装出发)
语言
C++
递交时间
2025-09-27 19:02:53
评测时间
2025-10-03 02:07:23
评测机
分数
100
总耗时
10ms
峰值内存
532.0 KiB