坐标变换 #include<bits/stdc++.h> using namespace std; #define fcout cout<<setprecision(0)<<fixed typedef long long ll; typedef pair<ll,ll> pii; pii calc(int n,ll m){ if(n==0) return {