摘要:
https://www.acwing.com/problem/content/4629/ //基环树 #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<LL,LL> PII; const L 阅读全文
摘要:
https://atcoder.jp/contests/abc272/tasks/abc272_d 所以一开始就写的是对的,但是就是判定条件的位置错了,我真的会被re七四 题目大意: 给个n*n的矩阵,每次我可以跳长*长+宽*宽==m^2的地方,也就是距离我根号m的点上 跳的到的地方输出最小步数,跳 阅读全文