UVA - 10499 The Land of Justice
2014-10-06 15:15
239 查看
题目大意:求一个球被从球心分成N份后,表面积增加了多少
解题思路:分成两份就增加50%,分成4份就增加100%,归纳可得,增加了n*25%
解题思路:分成两份就增加50%,分成4份就增加100%,归纳可得,增加了n*25%
#include<cstdio> int main() { long long number; while(scanf("%lld", &number)) { if(number < 0) break; if(number <= 1) printf("0%%\n"); else printf("%lld%%\n", 25 * number); } return 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 (暑假-数学 -H - 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