/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void add(int, ll)':
/in/foo.cc:37:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if(x=top[x])up[f[x]]+=p*(size[f[x]]-size[x]),x=f[x];
                ^
# 状态 耗时 内存占用
#1 Accepted 11ms 18.5 MiB
#2 Accepted 101ms 24.926 MiB
#3 Wrong Answer 98ms 25.328 MiB
#4 Accepted 113ms 21.98 MiB
#5 Wrong Answer 106ms 23.375 MiB
#6 Runtime Error 82ms 21.246 MiB
#7 Runtime Error 61ms 20.125 MiB
#8 Runtime Error 60ms 22.801 MiB
#9 Runtime Error 62ms 20.172 MiB
#10 Runtime Error 46ms 22.0 MiB

信息

递交者
类型
递交
题目
P1887 Falsita(Disillusioning & Shinrein)
语言
C++
递交时间
2018-05-02 01:32:59
评测时间
2018-05-02 01:32:59
评测机
分数
30
总耗时
744ms
峰值内存
25.328 MiB