WA on #3,5,6,7,8 求助

P1401 [入门赛 #18] 禁止在 int 乘 int 时不开 long long

有时会出现一个大正数*一个大负数,还不如把大正数换成小负数(大小指绝对值大小)
by Yuzilihhh @ 2024-07-22 17:05:24


@[thluogu](/user/916028) 有可能 `int` 乘 `int` 溢出
by xiewendongTony @ 2024-07-22 17:08:29


有可能 $正数 \times 负数$ ,结果可能是个很小的负数
by dongzirui0817 @ 2024-07-22 17:16:01


@[Yuzilihhh](/user/567522) thx, [已A](https://www.luogu.com.cn/record/168270808)
by thluogu @ 2024-07-24 17:00:41


@[xiewendongTony](/user/1074137) thx, [已A](https://www.luogu.com.cn/record/168270808)
by thluogu @ 2024-07-24 17:01:05


@[dongzirui0817](/user/905593) thx, [已A](https://www.luogu.com.cn/record/168270808)
by thluogu @ 2024-07-24 17:01:17


|