/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void read(T&)':
/in/foo.cc:22:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(;ch>='0'&&ch<='9';ch=getchar()) x=x*10+ch-'0'; x*=f;
  ^~~
/in/foo.cc:22:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(;ch>='0'&&ch<='9';ch=getchar()) x=x*10+ch-'0'; x*=f;
                                                     ^
/in/foo.cc: In constructor 'edge::edge(int, int, LL, LL, LL, int)':
/in/foo.cc:27:12: warning: 'edge::cost' will be initialized after [-Wreorder]
  LL fl,cap,cost;
            ^~~~
/in/foo.cc:26:13: warning:   'int edge::nx' [-Wreorder]
     int u,v,nx;
             ^~
/in/foo.cc:29:5: warning:   when initialized here [-Wreorder]
     edge(int u,int v,LL fl,LL cap,LL cost,int nx):u(u),v(v),fl(fl),cap(cap),cost(cost),nx(nx){} 
     ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 364.0 KiB
#2 Accepted 4ms 356.0 KiB
#3 Accepted 4ms 512.0 KiB
#4 Accepted 3ms 368.0 KiB
#5 Accepted 3ms 476.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 4ms 384.0 KiB
#8 Accepted 3ms 360.0 KiB
#9 Accepted 4ms 480.0 KiB
#10 Accepted 3ms 360.0 KiB

信息

递交者
类型
递交
题目
P1891 学姐的逛街计划
语言
C++
递交时间
2018-01-31 20:57:34
评测时间
2018-01-31 20:57:34
评测机
分数
100
总耗时
38ms
峰值内存
512.0 KiB