题解 | #尼科彻斯定理#
尼科彻斯定理
http://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
#include <stdio.h>
int main()
{
int m;
while(scanf("%d", &m) != EOF) {
int a1 = m * m - (m - 1);
for(int i = 0; i < m - 1; ++i) {
printf("%d+", a1);
a1 += 2;
}
printf("%d\n", a1);
}
return 0;
}