记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:67:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < G[u].size(); i++)
                    ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'L query(char)':
/in/foo.cc:132:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc:129:17: warning: 'flag' may be used uninitialized in this function [-Wmaybe-uninitialized]
      ans += flag*(lca(nxt, x) + lca(las, x) - lca(las, nxt));
             ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 2.746 MiB
#2 Runtime Error 17ms 10.719 MiB
#3 Runtime Error 4ms 2.855 MiB
#4 Wrong Answer 9ms 3.426 MiB
#5 Runtime Error 9ms 8.098 MiB
#6 Runtime Error 4ms 2.629 MiB
#7 Runtime Error 3ms 2.59 MiB
#8 Runtime Error 3ms 2.652 MiB
#9 Runtime Error 3ms 2.625 MiB
#10 Runtime Error 3ms 2.578 MiB

信息

递交者
类型
递交
题目
P1008 异象石
语言
C++
递交时间
2019-08-18 20:34:57
评测时间
2019-08-18 20:34:57
评测机
分数
0
总耗时
63ms
峰值内存
10.719 MiB