Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:15: warning: too many arguments for format [-Wformat-extra-args]
    6 |         scanf("&d,&d",a,b);
      |               ^~~~~~~
foo.cc:6:14: warning: 'a' is used uninitialized [-Wuninitialized]
    6 |         scanf("&d,&d",a,b);
      |         ~~~~~^~~~~~~~~~~~~
foo.cc:5:13: note: 'a' was declared here
    5 |         int a,b;
      |             ^
foo.cc:6:14: warning: 'b' is used uninitialized [-Wuninitialized]
    6 |         scanf("&d,&d",a,b);
      |         ~~~~~^~~~~~~~~~~~~
foo.cc:5:15: note: 'b' was declared here
    5 |         int a,b;
      |               ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 31, expect 29. 4ms 412.0 KiB
#2 Wrong Answer Read 31, expect 28. 4ms 412.0 KiB
#3 Wrong Answer Read 31, expect 29. 3ms 412.0 KiB
#4 Wrong Answer Read 31, expect 30. 3ms 332.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1023 某月的天数
语言
C++
递交时间
2023-11-23 20:41:56
评测时间
2023-11-23 20:41:56
评测机
分数
20
总耗时
20ms
峰值内存
412.0 KiB