记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:6:19: warning: unused variable 'dd' [-Wunused-variable]
     int y,m,d,i,n,dd=0;
                   ^~
/in/foo.c:6:17: warning: unused variable 'n' [-Wunused-variable]
     int y,m,d,i,n,dd=0;
                 ^
/in/foo.c: In function 'lamb':
/in/foo.c:29:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(y%4==0&&y%100!=0||y%400==0)
     ~~~~~~^~~~~~~~~~
/in/foo.c: In function 'Day':
/in/foo.c:52:9: warning: 'day' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return day;
         ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB

信息

递交者
类型
自测
题目
P1139 生日日数
语言
C
递交时间
2020-03-07 16:10:35
评测时间
2020-03-07 16:10:35
评测机
分数
10
总耗时
1ms
峰值内存
208.0 KiB