Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(i%4==0 && i%100!=0 || i%400==0)
      ~~~~~~~^~~~~~~~~~~
/in/foo.cc:12:8: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<c<<endl;
        ^
# 状态 耗时 内存占用
#1 Accepted 1ms 364.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 352.0 KiB

信息

递交者
类型
递交
题目
P2579 求闰年1级2 2023年模拟题
比赛
春季班初级5.25
语言
C++
递交时间
2024-05-27 21:02:26
评测时间
2024-05-27 21:02:26
评测机
分数
100
总耗时
6ms
峰值内存
376.0 KiB