原博客链接:https://blog.nowcoder.net/n/8f19b66f4bc14263958b1c3c398274df 第一次内测小白,记录一下 A 模拟。 import java.io.*; import java.util.*; public class Main{ static int maxn = 200005,n,m,inf=0x3fffffff; static long INF = (long)2e18,ans = 0,mod = (int)1e9+7; static Scanner sc = new Scanner (System.in); ...