/ new_bzoj /

记录详情

Wrong Answer

foo.cc: In function 'double cal(ll, ll)':
foo.cc:35:17: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
     return (dp[r&1^1][k]-(sum[k]*sum[k])-dp[r&1^1][j]+(sum[j]*sum[j]))*1.0/(sum[j]-sum[k]);
                ~^~
foo.cc:35:46: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
     return (dp[r&1^1][k]-(sum[k]*sum[k])-dp[r&1^1][j]+(sum[j]*sum[j]))*1.0/(sum[j]-sum[k]);
                                             ~^~
foo.cc: In function 'int main()':
foo.cc:57:28: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
             dp[r&1][i]=dp[r&1^1][q[h]]+sum[q[h]]*(sum[i]-sum[q[h]]);
                           ~^~

自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-16T02:10:21.691Z","handle":"2020-02-16T02:10:21.691Z","cache_start":"2020-02-16T02:10:21.692Z","read_cases":"2020-02-16T02:10:22.525Z","judge":"2020-02-16T02:10:22.525Z","done":"2020-02-16T02:10:25.272Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 224.0 KiB
#2 Wrong Answer 2ms 232.0 KiB
#3 Wrong Answer 2ms 280.0 KiB
#4 Wrong Answer 2ms 232.0 KiB
#5 Wrong Answer 2ms 232.0 KiB
#6 Wrong Answer 3ms 512.0 KiB
#7 Wrong Answer 42ms 612.0 KiB
#8 Wrong Answer 371ms 3.273 MiB
#9 Wrong Answer 373ms 3.195 MiB
#10 Wrong Answer 293ms 3.344 MiB

信息

递交者
类型
递交
题目
序列分割
语言
C++
递交时间
2020-02-16 10:10:21
评测时间
2020-02-16 10:10:21
评测机
分数
0
总耗时
1092ms
峰值内存
3.344 MiB