/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'double cal(ll, ll)':
/in/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]);
                ~^~
/in/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]);
                                             ~^~
/in/foo.cc: In function 'int main()':
/in/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]]);
                           ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB
#2 Wrong Answer 349ms 3.348 MiB
#3 Wrong Answer 1ms 212.0 KiB
#4 Wrong Answer 2ms 2.211 MiB
#5 Wrong Answer 2ms 2.207 MiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 3ms 2.332 MiB
#8 Wrong Answer 39ms 2.336 MiB
#9 Wrong Answer 350ms 3.203 MiB
#10 Wrong Answer 271ms 3.348 MiB

信息

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