/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void select(int, int)':
/in/foo.cc:26:42: warning: unused variable 'w2' [-Wunused-variable]
  unsigned long long w1=sum[p-1]-sum[l-1],w2=sum[r]-sum[p];
                                          ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:47:59: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
  while(scanf("%d%d%s",&cou[i].wei,&cou[i].dis,&cou[i].name)!=EOF)
                       ~~~~~~~~~~~                         ^
/in/foo.cc:47:59: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
/in/foo.cc:47:59: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[110000]' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 5ms 2.469 MiB
#2 Wrong Answer 9ms 3.863 MiB
#3 Accepted 19ms 9.746 MiB
#4 Accepted 21ms 11.0 MiB
#5 Wrong Answer 89ms 41.977 MiB
#6 Wrong Answer 24ms 12.875 MiB
#7 Wrong Answer 264ms 126.863 MiB
#8 Wrong Answer 150ms 90.094 MiB
#9 Wrong Answer 152ms 98.617 MiB
#10 Wrong Answer 161ms 99.5 MiB

信息

递交者
类型
递交
题目
P1225 拯救世界-紧急召集
语言
C++
递交时间
2017-10-12 18:16:53
评测时间
2017-10-12 18:16:53
评测机
分数
30
总耗时
898ms
峰值内存
126.863 MiB