Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:26: warning: spurious trailing '%' in format [-Wformat=]
  scanf("%d,%d,%",&x,&y,&z);
                          ^
foo.cc:8:26: warning: too many arguments for format [-Wformat-extra-args]
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d,%d,%",&x,&y,&z);
  ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -399756096.00, expect 3. 1ms 384.0 KiB
#2 Wrong Answer Read -402224608.00, expect 82. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1005 求逆序数
语言
C++
递交时间
2021-11-13 09:11:22
评测时间
2021-11-13 09:11:22
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB