/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'double slope(int, int)':
/in/foo.cc:12:16: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
     return (f[r&1^1][k]-pow(sum[k])-f[r&1^1][j]+pow(sum[j]))*1.0/(sum[j]-sum[k]);
               ~^~
/in/foo.cc:12:40: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
     return (f[r&1^1][k]-pow(sum[k])-f[r&1^1][j]+pow(sum[j]))*1.0/(sum[j]-sum[k]);
                                       ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:24:26: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
             f[r&1][i]=f[r&1^1][q[h]]+sum[q[h]]*(sum[i]-sum[q[h]]);
                         ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 4.203 MiB
#2 Wrong Answer 464ms 71.906 MiB
#3 Wrong Answer 2ms 4.203 MiB
#4 Wrong Answer 2ms 4.203 MiB
#5 Wrong Answer 58ms 68.441 MiB
#6 Wrong Answer 3ms 4.203 MiB
#7 Wrong Answer 4ms 4.453 MiB
#8 Wrong Answer 69ms 61.578 MiB
#9 Wrong Answer 439ms 58.559 MiB
#10 Wrong Answer 344ms 51.527 MiB

信息

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