建议看看题解为什么要用longlong https://ac.nowcoder.com/discuss/1156048?type=101&order=0&pos=7&page=0&channel=-1&source_id=1