/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void china(long long int)':
/in/foo.cc:22:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%I64d\n",(ans+M)%M);
                               ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:26:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%I64d",&k);     
                  ^
/in/foo.cc:28:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%I64d %I64d",&m[i],&a[i]);
                                  ^
/in/foo.cc:28:34: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 2ms 216.0 KiB
#2 Wrong Answer 2ms 216.0 KiB
#3 Wrong Answer 2ms 228.0 KiB
#4 Accepted 2ms 220.0 KiB
#5 Accepted 2ms 228.0 KiB
#6 Accepted 2ms 220.0 KiB
#7 Accepted 1ms 228.0 KiB
#8 Wrong Answer 2ms 220.0 KiB
#9 Accepted 2ms 228.0 KiB
#10 Wrong Answer 2ms 220.0 KiB

信息

递交者
类型
递交
题目
P1164 曹冲养猪
语言
C++
递交时间
2020-12-09 14:00:15
评测时间
2020-12-09 14:00:15
评测机
分数
60
总耗时
21ms
峰值内存
228.0 KiB