1112 水题
来源:互联网 发布:免费试用源码 编辑:程序博客网 时间:2024/06/04 01:37
http://sdnuacm.sinaapp.com/problem.php?id=1112
#include<iostream>
using
namespace
std;
int
main()
{
long
long
a,b,c,i;
long
long
sum=0;
cin>>a>>b>>c;
for
(i=1;i<=a;i++)
{ sum+=b;
b=b*c;
}
cout<<sum<<endl;
return
0;
}
- 1112 水题
- hpuoj 【1112】合并数字【水题】
- CSU 1112机器人的指令(水题)
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- Lightoj 1112 - Curious Robin Hood 【单点修改 + 单点、 区间查询】【树状数组 水题】
- poj 1112
- poj 1112
- LightOj 1112
- primer 1112
- 1112 KGold
- C++实现系统服务暂停、停止、启动
- VS2010调试Framework源代码的大门
- 分享Android开发实用小工具:图标批量提取工具:为APP开发快速获取资源
- iOS安全攻防(二):后台daemon非法窃取用户iTunesstore信息
- 网页常用字体Sans-serif Serif
- 1112 水题
- android编译 out/host/linux-x86/bin/clang: Permission denied 问题解决方法
- Android_多媒体
- cocos2d-x 2.0版本 自适应屏幕分辨率
- 1113 水题
- Python 中两个字典(dict)合并
- 生活在 Emacs 中
- cocos2d-x学习笔记(一)——安装篇
- 1115 水题