摘要: https://codeforces.com/contest/1180 A. Alex and a Rhombus 找规律,不难发现 a[i] = a[i-1]+4*(i-1) 或者 a[n] = 2*n*n-2*n+1 #include<bits/stdc++.h> using namespace 阅读全文
posted @ 2019-06-27 00:28 163467 阅读(128) 评论(0) 推荐(0) 编辑