/ Vijos /

记录详情

Accepted

/in/foo.cc: In constructor 'node::node(int, ll, int, int)':
/in/foo.cc:27:5: warning: 'node::val' will be initialized after [-Wreorder]
  ll val;
     ^~~
/in/foo.cc:26:9: warning:   'int node::cap' [-Wreorder]
  int to,cap,rev;
         ^~~
/in/foo.cc:28:2: warning:   when initialized here [-Wreorder]
  node(int to=0,ll val=0,int cap=0,int rev=0):to(to),val(val),cap(cap),rev(rev){}
  ^~~~
/in/foo.cc: In function 'bool spfa()':
/in/foo.cc:39:13: warning: unused variable 'head' [-Wunused-variable]
  static int head,tail;
             ^~~~
/in/foo.cc:39:18: warning: unused variable 'tail' [-Wunused-variable]
  static int head,tail;
                  ^~~~
/in/foo.cc: In function 'll maxflow()':
/in/foo.cc:82:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 4ms 484.0 KiB
#4 Accepted 3ms 340.0 KiB
#5 Accepted 3ms 488.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 468.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 3ms 512.0 KiB
#10 Accepted 3ms 500.0 KiB

信息

递交者
类型
递交
题目
P1891 学姐的逛街计划
语言
C++
递交时间
2017-09-06 10:24:59
评测时间
2017-09-06 10:24:59
评测机
分数
100
总耗时
34ms
峰值内存
512.0 KiB