/ new_bzoj /

记录详情

Runtime Error

/in/foo.cc: In function 'char fast_io::read()':
/in/foo.cc:10:28: warning: operation on 's' may be undefined [-Wsequence-point]
         return s==t?(((t=(s=buf)+fread(buf,1,IN_LEN,stdin))== s)?-1:*s++) : *s++;
                          ~~^~~~~
/in/foo.cc: In function 'void dfs1(int, int, int)':
/in/foo.cc:60:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0;i<edge[nown].size();i++){
                   ~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(int, int)':
/in/foo.cc:74:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0;i<edge[nown].size();i++){
                   ~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void solve()':
/in/foo.cc:118:38: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
         dis = dep[a] + dep[b] + dep[c] - dep[a1] - dep[b1] - dep[c1];
                                 ~~~~~^
/in/foo.cc:118:29: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
         dis = dep[a] + dep[b] + dep[c] - dep[a1] - dep[b1] - dep[c1];
                        ~~~~~^
/in/foo.cc:118:20: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
         dis = dep[a] + dep[b] + dep[c] - dep[a1] - dep[b1] - dep[c1];
               ~~~~~^
/in/foo.cc:33:38: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
             if (x < 0) print('-'), x = -x;
                                    ~~^~~~
/in/foo.cc:105:24: note: 'ans' was declared here
     int a,b,c,a1,b1,c1,ans,dis;
                        ^~~
/in/foo.cc: In function 'void init()':
/in/foo.cc:94:11: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int a,b;
           ^
# 状态 耗时 内存占用
#1 Runtime Error 37ms 11.949 MiB
#2 Runtime Error 31ms 11.926 MiB
#3 Runtime Error 31ms 11.938 MiB
#4 Runtime Error 30ms 11.945 MiB
#5 Runtime Error 32ms 11.938 MiB
#6 Runtime Error 34ms 11.93 MiB
#7 Runtime Error 38ms 11.953 MiB
#8 Runtime Error 38ms 11.926 MiB
#9 Runtime Error 36ms 11.938 MiB
#10 Runtime Error 33ms 11.941 MiB

信息

递交者
类型
递交
题目
聚会
语言
C++
递交时间
2018-10-28 16:29:45
评测时间
2018-10-28 16:29:45
评测机
分数
0
总耗时
343ms
峰值内存
11.953 MiB