Accepted
foo.cc: In function 'void isleap(int)':
foo.cc:13:10: warning: too many arguments for format [-Wformat-extra-args]
   13 |   printf("Yes\n",y);
      |          ^~~~~~~
foo.cc:15:11: warning: too many arguments for format [-Wformat-extra-args]
   15 |    printf("No\n",y);
      |           ^~~~~~
foo.cc: In function 'int main()':
foo.cc:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d",&y);
      |  ~~~~~^~~~~~~~~
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1015 闰年
- 语言
- C++
- 递交时间
- 2022-07-10 13:55:23
- 评测时间
- 2022-07-10 13:55:23
- 评测机
- 分数
- 100
- 总耗时
- 6ms
- 峰值内存
- 256.0 KiB