Accepted

foo.cc: In function 'int main()':
foo.cc:11:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   case 2:if(y%400==0||y%4==0&&y%100!=0){
                       ~~~~~~^~~~~~~~~~
foo.cc:6:10: warning: unused variable 'd' [-Wunused-variable]
  int y,m,d;
          ^
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&y,&m);
  ~~~~~^~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 400.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
比赛
盛泽二中初一编程社团阶段反馈(2021.4.7)
语言
C++
递交时间
2021-04-29 22:43:08
评测时间
2021-04-29 22:43:08
评测机
分数
100
总耗时
10ms
峰值内存
400.0 KiB