UVA - 10499 the Land of Justice
题目大意:将一个圆从中间开始切 (不是整个切开) 问切N刀后 增加的表面积倍率
解题思路:第一刀是切不开的 2刀是多了4个面 后面每刀 多 2面。
#include <cstdio>
#include <cmath>
int main() {
long long int N;
while (scanf("%lld", &N), N > 0) {
long long int s = 0;
if ( N > 1) {
s = 25*N;
}
printf("%lld%\n",s);
}
}