/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d%d",&n,&p);
               ~~   ^
/in/foo.cc:11:20: 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 6ms 4.336 MiB
#2 Wrong Answer 4ms 4.355 MiB
#3 Wrong Answer 4ms 4.371 MiB
#4 Wrong Answer 5ms 4.359 MiB
#5 Wrong Answer 4ms 4.332 MiB
#6 Wrong Answer 16ms 4.484 MiB
#7 Wrong Answer 99ms 9.098 MiB
#8 Wrong Answer 167ms 9.875 MiB
#9 Wrong Answer 339ms 17.75 MiB
#10 Wrong Answer 628ms 23.25 MiB

信息

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