/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%I64d%I64d",&n,&p);
                     ~~   ^
/in/foo.cc:11:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:12:43: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  for(int i=1;i<=n;i++) scanf("%I64d",&a[i]);
                                      ~~~~~^
/in/foo.cc:28:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  if(flag) printf("%I64d\n",f[n]%p);
                            ~~~~~~^
/in/foo.cc:29:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  else printf("%I64d\n",f[1]%p);
                        ~~~~~~^
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 4.328 MiB
#2 Wrong Answer 4ms 4.316 MiB
#3 Wrong Answer 2ms 4.316 MiB
#4 Wrong Answer 2ms 4.332 MiB
#5 Wrong Answer 2ms 4.324 MiB
#6 Wrong Answer 13ms 4.441 MiB
#7 Wrong Answer 76ms 8.449 MiB
#8 Wrong Answer 183ms 10.691 MiB
#9 Wrong Answer 370ms 16.449 MiB
#10 Wrong Answer 780ms 23.324 MiB

信息

递交者
类型
递交
题目
P1850 小朋友的数字
语言
C++
递交时间
2017-10-22 19:44:59
评测时间
2017-10-22 19:44:59
评测机
分数
0
总耗时
1441ms
峰值内存
23.324 MiB