/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void select(int, int)':
/in/foo.cc:26:33: warning: unused variable 'w2' [-Wunused-variable]
  unsigned long long w1=sum[p-1],w2=sum[i]-sum[p];
                                 ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:48:61: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
  while(scanf("%ld%ld%s",&cou[i].wei,&cou[i].dis,&cou[i].name)!=EOF)
                         ~~~~~~~~~~~                         ^
/in/foo.cc:48:61: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
/in/foo.cc:48:61: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[110000]' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 7ms 2.492 MiB
#2 Accepted 8ms 4.832 MiB
#3 Accepted 17ms 8.984 MiB
#4 Accepted 18ms 9.625 MiB
#5 Accepted 79ms 40.625 MiB
#6 Accepted 26ms 14.234 MiB
#7 Accepted 222ms 126.098 MiB
#8 Accepted 146ms 90.582 MiB
#9 Accepted 159ms 98.121 MiB
#10 Accepted 160ms 99.0 MiB

信息

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