灵异事件

P5534 【XR-3】等差数列

@[telankesi](/user/866969) 数据范围最大是1e6,公式中可以看作有平方运算,明显超了int范围。
by CuCl4Loliko @ 2023-01-20 18:25:01


要求和 ~~超出int范围了吧~~
by NaturalSelection @ 2023-01-20 18:25:08


@[telankesi](/user/866969) 标题党,也不灵异啊
by hct_ @ 2023-01-20 19:29:07


@[sakana0117](/user/826754) 我的意思是别的数据都开得long long 只有n用int 可为什么不行??
by telankesi @ 2023-01-20 20:46:57


@[hct_](/user/686083)
by telankesi @ 2023-01-20 20:47:36


@[austin_luo](/user/737409)
by telankesi @ 2023-01-20 20:47:59


@[telankesi](/user/866969) int和long long的区别不只是在存储范围,运算时混用可能会导致结果有问题
by CuCl4Loliko @ 2023-01-20 21:10:42


@[telankesi](/user/866969) long long 存储更大,~~不开long long见祖宗~~
by hct_ @ 2023-01-21 13:52:53


|