记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:14:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   14 |    if(day>31)
      |    ^~
foo.c:16:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   16 |     if(yue>12)
      |     ^~
foo.c:5:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |   scanf("%d%d%d", &year,&yue,&day);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |   scanf("%d", &num);
      |   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 13, expect 1. 2ms 256.0 KiB

信息

递交者
类型
自测
题目
P1003 OO1-3 日期类Date
语言
C
递交时间
2021-12-30 17:38:23
评测时间
2021-12-30 17:38:23
评测机
分数
0
总耗时
2ms
峰值内存
256.0 KiB