/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool bfs()':
/in/foo.cc:6:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define fr(i,s,t) for (i=s;i<=t;i++)
                              
/in/foo.cc:37:6:
   fr(i,0,vec[x].size()-1){
      ~~~~~~~~~~~~~~~~~~~     
/in/foo.cc:37:3: note: in expansion of macro 'fr'
   fr(i,0,vec[x].size()-1){
   ^~
/in/foo.cc: In function 'int dfs(int, int)':
/in/foo.cc:51:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (;cur[x]<vec[x].size();cur[x]++){
        ~~~~~~^~~~~~~~~~~~~~
/in/foo.cc:49:6: warning: unused variable 'i' [-Wunused-variable]
  int i,y,num,flow=0,f;
      ^
# 状态 耗时 内存占用
#1 Accepted 3ms 2.199 MiB
#2 Accepted 6ms 2.238 MiB
#3 Accepted 7ms 2.25 MiB
#4 Accepted 7ms 2.355 MiB
#5 Accepted 8ms 2.25 MiB
#6 Accepted 5ms 2.25 MiB
#7 Accepted 7ms 2.25 MiB
#8 Accepted 6ms 2.375 MiB
#9 Accepted 153ms 10.254 MiB
#10 Accepted 121ms 10.516 MiB

信息

递交者
类型
递交
题目
P1352 最大获利
语言
C++
递交时间
2018-02-26 14:59:27
评测时间
2018-02-26 14:59:27
评测机
分数
100
总耗时
329ms
峰值内存
10.516 MiB