/ Vijos /

记录详情

Accepted

/in/foo.cc: In constructor 'data::data(int, double, double, double)':
/in/foo.cc:9:26: warning: 'data::id' will be initialized after [-Wreorder]
  double x,y,a,b,r,k; int id;
                          ^~
/in/foo.cc:9:13: warning:   'double data::a' [-Wreorder]
  double x,y,a,b,r,k; int id;
             ^
/in/foo.cc:11:2: warning:   when initialized here [-Wreorder]
  data(int I,double A,double B,double R):id(I),a(A),b(B),r(R){k=-A/B;}
  ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 4.25 MiB
#2 Accepted 3ms 4.25 MiB
#3 Accepted 3ms 2.375 MiB
#4 Accepted 3ms 4.25 MiB
#5 Accepted 4ms 2.281 MiB
#6 Accepted 4ms 4.25 MiB
#7 Accepted 80ms 10.625 MiB
#8 Accepted 81ms 10.672 MiB
#9 Accepted 168ms 12.25 MiB
#10 Accepted 163ms 12.082 MiB

信息

递交者
类型
递交
题目
P1508 货币兑换
语言
C++
递交时间
2017-06-29 19:42:28
评测时间
2017-06-29 19:42:28
评测机
分数
100
总耗时
517ms
峰值内存
12.25 MiB