UVA - 10499 the Land of Justice
来源:互联网 发布:ubuntu terminal 分屏 编辑:程序博客网 时间:2024/05/21 12:40
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); }}
0 0
- uva 10499 - The Land of Justice
- uva-10499 - The Land of Justice
- UVa 10499 - The Land of Justice
- UVa 10499 - The Land of Justice
- UVA 10499 The Land of Justice
- uva 10499 - The Land of Justice
- uva 10499 The Land of Justice
- UVA 10499 The Land of Justice
- UVa 10499 - The Land of Justice
- UVa 10499 - The Land of Justice
- Uva 10499 The Land of Justice
- UVA - 10499 The Land of Justice
- UVA - 10499 The Land of Justice
- uva 10499 The Land of Justice
- UVA - 10499 The Land of Justice
- uva 10499 The Land of Justice
- UVA 10499 The Land of Justice
- UVA 10499 The Land of Justice
- UVA - 107 The Cat in the Hat
- jQuery笔记
- UVA - 573 The Snail
- UVA - 846 Steps
- 统一建模语言 UML淘宝网系统分析和设计
- UVA - 10499 the Land of Justice
- 系统架构师谈企业应用架构之开卷有益
- 应用缓存
- android 通知提醒
- 大部分人都会做错的经典JS闭包面试题
- nodejs中使用mongodb
- PAT:B1002. 写出这个数 (20)
- HTML5 Canvas
- ArrayList 集合遍历 删除 筛选重复数据