/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:40: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:65:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < vec.size(); i++) {
                         ~~^~~~~~~~~~~~
/in/foo.cc:67: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 376.0 KiB
#2 Accepted 1ms 352.0 KiB
#3 Accepted 1ms 380.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 340.0 KiB
#6 Accepted 1ms 400.0 KiB
#7 Accepted 1ms 356.0 KiB
#8 Accepted 1ms 348.0 KiB
#9 Wrong Answer 1ms 360.0 KiB
#10 Accepted 1ms 348.0 KiB

信息

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