/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:4:38: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%d%d%d%d%d",&a,&b,&k,&n,&m);a%=10007;b%=10007;
                        ~~            ^
foo.cc:4:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
foo.cc:4:38: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
foo.cc:4:38: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
foo.cc:4:38: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long long int*' [-Wformat=]
foo.cc:6:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d",c);return 0;
                  ^
foo.cc:4:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d%d%d",&a,&b,&k,&n,&m);a%=10007;b%=10007;
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Wrong Answer Read 4968, expect 7470. 0ms 280.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Wrong Answer Read 6253, expect 325. 0ms 256.0 KiB
#5 Wrong Answer Read 4495, expect 6995. 0ms 288.0 KiB
#6 Wrong Answer Read 4164, expect 9130. 0ms 284.0 KiB
#7 Wrong Answer Read 8515, expect 817. 0ms 256.0 KiB
#8 Wrong Answer Read 3327, expect 2709. 0ms 256.0 KiB
#9 Wrong Answer Read 7831, expect 8895. 0ms 288.0 KiB
#10 Wrong Answer Read 7689, expect 6880. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1739 计算系数
语言
C++
递交时间
2021-11-23 23:28:50
评测时间
2021-11-23 23:28:50
评测机
分数
20
总耗时
8ms
峰值内存
288.0 KiB