/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:46:42: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  for(i=0;i<n;i++)scanf("%d%d",&a[i],&b[i]);
                               ~~~~~      ^
/in/foo.cc:46:42: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:43:17: warning: variable 'k' set but not used [-Wunused-but-set-variable]
 long long n,i,j,k,a[1000],b[1000],ans[4001],tmp[4001],ttt[4001],p,q;
                 ^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 456.0 KiB
#2 Wrong Answer 2ms 464.0 KiB
#3 Wrong Answer 4ms 588.0 KiB
#4 Wrong Answer 3ms 448.0 KiB
#5 Accepted 12ms 464.0 KiB
#6 Accepted 12ms 448.0 KiB
#7 Wrong Answer 103ms 460.0 KiB
#8 Wrong Answer 148ms 456.0 KiB
#9 Wrong Answer 145ms 456.0 KiB
#10 Wrong Answer 139ms 452.0 KiB

信息

递交者
类型
递交
题目
P1779 国王游戏
语言
C++
递交时间
2017-10-22 00:42:31
评测时间
2017-10-22 00:42:31
评测机
分数
20
总耗时
576ms
峰值内存
588.0 KiB