Wrong Answer
foo.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ foo.c: In function 'main': foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d,%d,%d", &year,&month,&day); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ foo.c:26:25: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] sum=(2021-year-r)*365+r*366+month+day; ~^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 比赛
- 2021年中北算法竞赛队招新测试
- 语言
- C
- 递交时间
- 2021-10-24 16:34:54
- 评测时间
- 2021-10-24 16:34:54
- 评测机
- 分数
- 0
- 总耗时
- 3ms
- 峰值内存
- 256.0 KiB