ZOJ Problem Set - 1048
来源:互联网 发布:淘宝代理货源怎么找 编辑:程序博客网 时间:2024/04/28 17:16
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1048
没啥好说的。
#include <iostream>
using namespace std;
int main()
{
float m;
float total = 0.0;
int count = 0;
while(cin >> m) {
total += m;
count++;
if(12 == count) {
total = total/12.00;
cout << "$" << total << endl;
total = 0.0;
count = 0;
}
}
return 0;
}
- ZOJ Problem Set - 1048
- ZOJ Problem Set - 1048
- ZOJ Problem Set - 1045 & ZOJ Problem Set - 1048
- ZOJ Problem Set - 1048 Financial Management
- ZOJ Problem Set - 1048||Financial Management
- ZOJ Problem Set - 1048 Financial Management
- ZOJ Problem Set - 2060
- ZOJ Problem Set - 2972
- ZOJ Problem Set - 1037
- ZOJ Problem Set - 1049
- ZOJ Problem Set - 1051
- ZOJ Problem Set - 1067
- ZOJ Problem Set - 1115
- ZOJ Problem Set - 1151
- ZOJ Problem Set - 1205
- ZOJ Problem Set - 1025
- ZOJ Problem Set - 1029
- ZOJ Problem Set - 1076
- MyEclipse注册代码
- CLR
- mysql发生系统错误1067
- hook KiFastCallEntry
- TranslateMessage会翻译哪些消息 探索
- ZOJ Problem Set - 1048
- java 初始化基类
- MFC架构之CWinApp类
- JS中URL传中文参数引发的乱码问题
- dojox.gfx.createSurface
- bind() 错误=10048
- test
- 木桶理论
- zoj 3168 Sort ZOJ7(水!)