/ Vijos /

记录详情

Accepted

foo.cc: In constructor ‘edgenode::edgenode(int, int, int, double, int)’:
foo.cc:28:12: warning: ‘edgenode::cost’ will be initialized after [-Wreorder]
   28 |     double cost;
      |            ^~~~
foo.cc:27:26: warning:   ‘int edgenode::next’ [-Wreorder]
   27 |     int from, to, flow,  next;
      |                          ^~~~
foo.cc:29:5: warning:   when initialized here [-Wreorder]
   29 |     edgenode(int From = 0, int To = 0, int Flow = 0, double Cost = 0.0, int Next = 0) : from(From), to(To), flow(Flow), cost(Cost), next(Next) {}
      |     ^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 1.5 MiB
#2 Accepted 3ms 1.5 MiB
#3 Accepted 3ms 1.5 MiB
#4 Accepted 3ms 1.363 MiB
#5 Accepted 3ms 1.5 MiB
#6 Accepted 3ms 1.5 MiB
#7 Accepted 3ms 1.5 MiB
#8 Accepted 3ms 1.5 MiB
#9 Accepted 3ms 1.5 MiB
#10 Accepted 3ms 1.34 MiB

信息

递交者
类型
递交
题目
P1228 拯救世界-星际大战
语言
C++
递交时间
2026-02-12 15:32:02
评测时间
2026-02-12 15:32:02
评测机
分数
100
总耗时
36ms
峰值内存
1.5 MiB