@[zhenshijuruo](/user/1130499) 关于iax,iay没有用
求关
by Deric456 @ 2024-09-10 19:57:26
@[zhenshijuruo](/user/1130499)
$iax*iay$,
$iax*iby$,
$iay*ibx$,
$iay*iby$
都要算一遍
by _chicken_ @ 2024-09-10 19:58:44
实际上iax\*iay和ibx\*iby判断一下就行了吧?
by xuchenran123 @ 2024-09-10 20:03:41
iax=0
ibx=INTMAX
iay=INTMAX
iby=0
by Deric456 @ 2024-09-10 20:06:06
```cpp
if(ibx*iby>=INTMAX)cout<<"long long int";
else if(ibx*iby<=INTMIN)cout<<"long long int";
```
改成
```cpp
if(ibx*iby>=INTMAX)cout<<"long long int";
else if(iax*iay<=INTMIN)cout<<"long long int";
```
by xuchenran123 @ 2024-09-10 20:06:17
看上边
@[xuchenran123](/user/749318)
by Deric456 @ 2024-09-10 20:07:26
@[xuchenran123](/user/749318) 加了iax*iay确实分上去了,但是95
by zhenshijuruo @ 2024-09-10 20:13:18
@[Deric456](/user/1365062) 已关,谢谢提醒
by zhenshijuruo @ 2024-09-10 20:16:55
@[zhenshijuruo](/user/1130499)
好吧。
by xuchenran123 @ 2024-09-10 20:23:14
@[_chicken_](/user/1041060) 这些情况写了,但是倒数第二个案例没过
by zhenshijuruo @ 2024-09-10 20:26:11