/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool sdf(T&)':
/in/foo.cc:11:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(c=getchar(),47<c&&c<58)x=(x<<1)+(x<<3)+(c^48);x*=y;
     ^~~~~
/in/foo.cc:11:57: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(c=getchar(),47<c&&c<58)x=(x<<1)+(x<<3)+(c^48);x*=y;
                                                         ^
/in/foo.cc: In function 'int bfs(int)':
/in/foo.cc:37:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(re i=0;i<g[u].size();i++){
                    ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:70:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(re i=0;i<dr.size();i++){
                ~^~~~~~~~~~
/in/foo.cc:77:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(re i=0;i+1<dr.size();i++){
                ~~~^~~~~~~~~~
/in/foo.cc:79:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(re j=0;j<g[pt].size();j++){
                    ~^~~~~~~~~~~~~
/in/foo.cc:87:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(re i=0;i<dr.size();i++){
                ~^~~~~~~~~~
/in/foo.cc:88:14: warning: statement has no effect [-Wunused-value]
         for(l;l<dr.size();l++){
              ^
/in/foo.cc:88:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(l;l<dr.size();l++){
               ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 93ms 16.5 MiB
#2 Accepted 91ms 16.73 MiB
#3 Accepted 132ms 18.574 MiB
#4 Accepted 183ms 20.25 MiB
#5 Accepted 151ms 20.25 MiB
#6 Accepted 193ms 20.344 MiB
#7 Accepted 264ms 23.871 MiB
#8 Accepted 271ms 24.0 MiB
#9 Accepted 480ms 31.289 MiB
#10 Accepted 527ms 31.258 MiB

信息

递交者
类型
递交
题目
P1553 树网的核加强版
语言
C++
递交时间
2018-07-23 18:13:58
评测时间
2018-07-23 18:13:58
评测机
分数
100
总耗时
2390ms
峰值内存
31.289 MiB