/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:20: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:59:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < vec.size(); i++) {
                         ~~^~~~~~~~~~~~
/in/foo.cc:61:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
             for (int j = h[u], v; v = tto[j]; j = nxt[j]) {
                                            ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 408.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Accepted 1ms 336.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Wrong Answer 1ms 340.0 KiB
#6 Wrong Answer 1ms 340.0 KiB
#7 Wrong Answer 1ms 344.0 KiB
#8 Wrong Answer 1ms 360.0 KiB
#9 Wrong Answer 1ms 332.0 KiB
#10 Wrong Answer 1ms 348.0 KiB

信息

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