Light_az @ 2023-05-26 19:10:40
ans
取 LLONG_MAX
,INT_MAX
就忌了
by zhanghao233 @ 2023-05-27 13:17:17
谢谢学姐
by zhanghao233 @ 2023-05-27 13:17:53
@Light_az 不如玩原神
by xueruo @ 2023-05-27 21:30:17
@zhanghao233 玩玩神原的。
by xie_yuhao @ 2023-07-17 14:59:07
感谢祖先
by lsfdjklf @ 2023-07-20 20:08:03
@Light_az 为什么会这样,我也有同样的问题
by Light_az @ 2023-07-20 20:49:48
@lsfdjklf 因为答案可能大于 INT_MAX,那么由于 ans 取最小值就会取 INT_AX 为答案
by lsfdjklf @ 2023-07-21 12:04:01
@Light_az 感谢,我明白了
by _Djhhh @ 2023-07-22 13:53:38
感谢大佬
by zheng8918 @ 2024-07-09 20:21:43
@Light_az 谢谢学姐!