/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:19:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     for (int i = h[u], v; v = tto[i]; i = nxt[i]) {
                                    ^
/in/foo.cc: In function 'int bfs()':
/in/foo.cc:48:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < vec.size(); i++) {
                         ~~^~~~~~~~~~~~
/in/foo.cc:50:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
             for (int j = h[u], v; v = tto[j]; j = nxt[j]) {
                                            ^
/in/foo.cc:51:17: warning: 'node' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 if (v == node) continue;
                 ^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 788.0 KiB
#2 Wrong Answer 1ms 468.0 KiB
#3 Accepted 1ms 400.0 KiB
#4 Accepted 1ms 344.0 KiB
#5 Wrong Answer 1ms 336.0 KiB
#6 Wrong Answer 1ms 376.0 KiB
#7 Wrong Answer 1ms 340.0 KiB
#8 Wrong Answer 1ms 376.0 KiB
#9 Wrong Answer 1ms 340.0 KiB
#10 Wrong Answer 1ms 344.0 KiB

信息

递交者
类型
递交
题目
P1101 传染病防治
语言
C++
递交时间
2024-09-14 17:07:29
评测时间
2024-09-14 17:07:29
评测机
分数
20
总耗时
14ms
峰值内存
788.0 KiB