记录详情

Accepted

/in/foo.cc: In function 'int isleap(int)':
/in/foo.cc:5:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    5 |         if(y%400==0 || y%4==0 && y%100!=0)
      |                        ~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'int monthday(int, int)':
/in/foo.cc:18:1: warning: control reaches end of non-void function [-Wreturn-type]
   18 | }
      | ^
# 状态 耗时 内存占用
#1 Accepted 2ms 496.0 KiB
#2 Accepted 2ms 492.0 KiB
#3 Accepted 2ms 472.0 KiB
#4 Accepted 2ms 400.0 KiB
#5 Accepted 2ms 484.0 KiB

信息

递交者
类型
递交
题目
A1-4 分支结构练习:今年过去了多少天
比赛
2025程序设计与竞赛作业赛第一场(整装出发)
语言
C++
递交时间
2025-09-27 18:08:06
评测时间
2025-10-03 01:41:52
评测机
分数
100
总耗时
12ms
峰值内存
496.0 KiB