HDU 1064 Financial Management
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1064
解题报告:用来凑个题数吧,看题的时间比过题的时间多的多,就是输入12个浮点数,然后输出平均数,只是前面加个美元符号就行了,另外保留两位小数,快去水吧。
main()
{
double i = ,x,tot = ;
for(i = ;i <= ;++i)
scanf("%lf",&x),tot += x;
printf("$%.2lf\n",tot / );
}
HDU 1064 Financial Management的更多相关文章
- 1064 Financial Management
		
http://acm.hdu.edu.cn/showproblem.php?pid=1064 思路:看懂英文就很简单,就是12个数相加求平均数就ok了. 扩展: C++ 标准输入输出流的控制符 #in ...
 - Hdoj 1064 Financial Management
		
题目描述 Problem Description Larry graduated this year and finally has a job. He's making a lot of money ...
 - poj 1004:Financial Management(水题,求平均数)
		
Financial Management Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 126087 Accepted: ...
 - Financial Management[POJ1004]
		
Financial Management Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 179458 Accepted: ...
 - 练习英语ing——[POJ1004]Financial Management
		
[POJ1004]Financial Management 试题描述 Larry graduated this year and finally has a job. He's making a lo ...
 - Financial Management                                                       分类:            POJ             2015-06-11 10:51    12人阅读    评论(0)    收藏
		
Financial Management Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 164431 Accepted: ...
 - Introduction to Financial Management
		
Recently,i am learning some useful things about financial management by reading <Essentials of Co ...
 - [POJ] #1004# Financial Management : 浮点数运算
		
一. 题目 Financial Management Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 173910 Acc ...
 - Financial Management
		
Financial Management 时间限制:3000 ms | 内存限制:65535 KB 难度:1 描述 Larry graduated this year and finally ...
 
随机推荐
- webservice理解
			
什么是webservice? 1.基于web的一种服务,webservice分为服务器端server和客户端client. server端会会提供一些资源供客户端的应用来访问(获取所需要的数据) 2. ...
 - xbmc的静态链接办法
			
XBMC是一个相当酷的音频/视频播放器,号称家庭影视中心. 我是希望静态将一些库链接进可执行程序的,这样我用的ArchLinux就不用天天在更新一些东西了 但XBMC试了很多次,编译成功后,总是在运行 ...
 - emacs最简单入门,只要10分钟
			
macs最简单入门,只要10分钟 windwiny @2013 无聊的时候又看到鼓吹emacs的文章,以前也有几次想尝试,结果都是玩不到10分钟就退出删除了. 这次硬着头皮,打开几篇文章都看完 ...
 - js数组特定位置元素置空,非null和undefined,实现echarts现状图效果;谷歌格式化压缩js代码
			
一.想要实现eCharts线状图表的断点效果,如图(后来又查到数据格式为data:['-', 2, 3,'-' , 5, 6, 7]:也可以断点显示) 这种效果,在设置数据的时候应该是这样: data ...
 - Java I/O流体系
 - CodeForces 701C They Are Everywhere (滑动窗口)
			
题目链接:http://codeforces.com/problemset/problem/701/C 题意:找到字符串中能包含所有元素的最短字符串长度. 利用“滑动窗口”解题 解题思路: 1. 遍历 ...
 - Xcode卡顿解决方案
			
1.禁用indexing 在终端(terminal) 输入 defaults write com.apple.dt.XCode IDEIndexDisable 并重启Xcode. (不是大神勿用哈,附 ...
 - 防SQL注入代码(ASP版)
			
<% Dim Fy_Url,Fy_a,Fy_x,Fy_Cs(),Fy_Cl,Fy_Ts,Fy_Zx '---定义部份 头------ Fy_Cl = 1 '处理方式:1=提示信息,2=转向页面, ...
 - 多线程 GET
			
iOS中多线程的实现 方案 简介 语言 线程生命周期 使用频率 pthread 一套通用的多线程API 适用于 Unix / Linux / Windows 等系统 跨平台\可移植 使用难度大 C 程 ...
 - thinkphp-许愿墙-3
			
用jquery写异步传递的时候, 首先要判断表单中的输入是否为空: 如果有多个输入项, 应该, 分别的, 一步一步的来判断是否为空, 而不是用 and / or来复合判断! 同时如果为空, 应该将它设 ...