cf1004.div.2.A 2025-2-12 22:14 | 203 | 6 | 算法题解 128 字 | 2 分钟 题目 #include<bits/stdc++.h> using namespace std; int x,n,m; int main(){ //freopen("in.txt","r",stdin); //freopen("out.txt","w",stdout); cin>>x; while(x--){ cin>&…