foo.cc: In function 'double slope(int, int)':
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]);
~^~
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]);
~^~
foo.cc: In function 'int main()':
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]]);
~^~
自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-16T02:13:08.840Z","handle":"2020-02-16T02:13:08.841Z","cache_start":"2020-02-16T02:13:08.841Z","read_cases":"2020-02-16T02:13:09.231Z","judge":"2020-02-16T02:13:09.232Z","done":"2020-02-16T02:13:11.344Z"}