/ fz_zsl /

记录详情

Runtime Error

/in/foo.cc: In function 'int dfs(int)':
/in/foo.cc:30:32: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    ds=rl-nr[to[i]]-wg[i],rl-=ds+1>>1,rr=rl+(ds&1),rs+=ds+1>>1;
                              ~~^~
/in/foo.cc:30:57: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    ds=rl-nr[to[i]]-wg[i],rl-=ds+1>>1,rr=rl+(ds&1),rs+=ds+1>>1;
                                                       ~~^~
/in/foo.cc:31:36: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   else ds=nl[to[i]]-wg[i]-rr,rr+=ds+1>>1,rl=rr-(ds&1),rs+=ds+1>>1;
                                  ~~^~
/in/foo.cc:31:61: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   else ds=nl[to[i]]-wg[i]-rr,rr+=ds+1>>1,rl=rr-(ds&1),rs+=ds+1>>1;
                                                           ~~^~
# 状态 耗时 内存占用
#1 Runtime Error 168ms 556.0 KiB
#2 Runtime Error 168ms 492.0 KiB
#3 Runtime Error 168ms 220.0 KiB
#4 Runtime Error 168ms 212.0 KiB
#5 Runtime Error 167ms 208.0 KiB
#6 Runtime Error 167ms 220.0 KiB
#7 Runtime Error 168ms 220.0 KiB
#8 Runtime Error 168ms 212.0 KiB
#9 Runtime Error 167ms 220.0 KiB
#10 Runtime Error 167ms 208.0 KiB
#11 Runtime Error 169ms 220.0 KiB
#12 Runtime Error 168ms 208.0 KiB
#13 Runtime Error 176ms 208.0 KiB
#14 Runtime Error 176ms 216.0 KiB
#15 Runtime Error 171ms 220.0 KiB
#16 Runtime Error 172ms 208.0 KiB
#17 Runtime Error 171ms 220.0 KiB
#18 Runtime Error 170ms 212.0 KiB
#19 Runtime Error 172ms 208.0 KiB
#20 Runtime Error 172ms 220.0 KiB

信息

递交者
类型
递交
题目
P1001 「2020-02-14 省选模拟赛」传送 (teleport)
语言
C++
递交时间
2020-02-15 13:54:21
评测时间
2020-02-15 17:04:27
评测机
分数
0
总耗时
3403ms
峰值内存
556.0 KiB