Accepted

/in/foo.cc: In function 'bool isrun(long long int)':
/in/foo.cc:7:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    7 |         return year%4==0&&year%100!=0||year%400==0;
      |                ~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   46 |                 if(IsPrime[i]);
      |                 ^~
/in/foo.cc:47:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   47 |                 {
      |                 ^
/in/foo.cc:55:49: warning: unused variable 'mod3' [-Wunused-variable]
   55 |                 int y[4],m[4],d[4],md,mod1,mod2,mod3,ans=0;
      |                                                 ^~~~
# 状态 耗时 内存占用
#1 Accepted 432ms 138.312 MiB
#2 Accepted 426ms 138.344 MiB
#3 Accepted 423ms 138.281 MiB
#4 Accepted 416ms 138.445 MiB
#5 Accepted 421ms 138.371 MiB
#6 Accepted 423ms 138.266 MiB
#7 Accepted 426ms 138.328 MiB
#8 Accepted 432ms 138.23 MiB
#9 Accepted 437ms 138.281 MiB
#10 Accepted 435ms 138.25 MiB

信息

递交者
类型
递交
题目
P3077 家庭 202602saccc五级T2
语言
C++
递交时间
2026-05-17 08:41:42
评测时间
2026-05-17 08:41:42
评测机
分数
100
总耗时
4274ms
峰值内存
138.445 MiB