/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool cmp(li, li)':
/in/foo.cc:24:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     return x.x<y.x||x.x==y.x&&x.y<y.y;
                     ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'int bfs(int)':
/in/foo.cc:72:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:95:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(check())return 0;memset(vis,1,sizeof(vis));what=0;
     ^~
/in/foo.cc:95:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(check())return 0;memset(vis,1,sizeof(vis));what=0;
                         ^~~~~~
/in/foo.cc:77:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j,k,b,c;
         ^
/in/foo.cc:77:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j,k,b,c;
           ^
/in/foo.cc:77:13: warning: unused variable 'k' [-Wunused-variable]
     int i,j,k,b,c;
             ^
/in/foo.cc:77:15: warning: unused variable 'b' [-Wunused-variable]
     int i,j,k,b,c;
               ^
/in/foo.cc:77:17: warning: unused variable 'c' [-Wunused-variable]
     int i,j,k,b,c;
                 ^
# 状态 耗时 内存占用
#1 Accepted 4ms 4.0 MiB
#2 Accepted 9ms 4.875 MiB
#3 Accepted 117ms 5.34 MiB
#4 Accepted 5ms 3.125 MiB
#5 Accepted 5ms 3.105 MiB
#6 Accepted 5ms 5.117 MiB
#7 Accepted 9ms 4.332 MiB
#8 Accepted 11ms 5.25 MiB
#9 Accepted 21ms 4.594 MiB
#10 Accepted 156ms 5.367 MiB

信息

递交者
类型
递交
题目
P1777 引水入城
语言
C++
递交时间
2018-07-25 02:51:47
评测时间
2018-07-25 02:51:47
评测机
分数
100
总耗时
347ms
峰值内存
5.367 MiB