[杭电_HDU] 2013
2024-10-08 12:22:42
#include <iostream>
using namespace std; int main()
{
int n;
while (cin >> n)
{
int i = ; //最终桃子数目
while (--n)
{
i = (i + ) * ; }
cout << i << endl;
}
return ;
}
最新文章
- Structure Of Management Information - SNMP Tutorial
- CPrimerPlus第十一章中的“选择排序算法”学习
- 《Linux内核设计与实现》CHAPTER18阅读梳理
- DOM based XSS Prevention Cheat Sheet(DOM Based XSS防御检查单)
- CENTOS 下编译HTK
- php 数组排序代码
- Visual Studio中的Build Event
- struts 2学习笔记—初学struts 2
- 转:LoadRunner中参数化技术详解
- Webpack学习系列(二)
- 工具类总结---(五)---SD卡文件管理
- python 实例四
- 基于hortonworks的大数据集群环境部署流水
- python----运算符、布尔值
- OneNET麒麟座应用开发之四:数据上传测试
- JAVA分库分表的实现方案
- fedroa20中将ssh,ssl升级到当前最新版本
- linux 时间戳
- iOS - UITabBarController中的坑
- matlab与VC6.0混合编程设置
热门文章
- K3标准产品的BOS单据发布至自定义模块
- 机器学习作业(一)线性回归——Matlab实现
- navicat 连接报2059错误
- C++——继承与派生
- solr 对于 关键字的特殊处理
- es报错org.frameworkset.elasticsearch.ElasticSearchException: {";error";:{";root_cause";:[{";type";:";cluster_block_exception";,";reason";:";blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];";}],
- python实现进度条下载
- c++踩坑大法好 数组
- IIS之虚拟目录
- bugku sql2