ZOJ Problem Set - 1048 Financial Management】的更多相关文章

我承认这是一道水的不能再水的题,今天一下就做到了,还是无耻的帖上来吧 #include <stdio.h> int main() { double sum=0; for(int i=1;i<13;i++) { double tmp=0; scanf("%lf",&tmp); sum+=tmp; } printf("$%.2lf\n",sum/12); return 0; }…
原题链接 题目大意:给出12个月的收入,求一个平均值. 解法:没什么好说的,就是一个除法. 参考代码: #include<stdio.h> int main(){ int i; float sum=0,k; for(i=0;i<12;i++){ scanf("%f",&k); sum+=k; } sum=sum/12; printf("$%.2f",sum); return 0; }…
水两发去建模,晚饭吃跟没吃似的,吃完没感觉啊. ---------------------------分割线"水过....."------------------------------- POJ 3100 Root of the Problem http://poj.org/problem?id=3100 大意: 给定B和N,求一个数A使得A^N最接近B 太水了..... #include<cstdio> #include<cmath> int main()…
Recently,i am learning some useful things about financial management by reading <Essentials of Corporate Finance> writed by Ross/Westerfield/Jordan.Now i will share with you. Chapter One : Introduction to Financial Management Traditionally,finance a…
Financial Management Time Limit: 1 Sec  Memory Limit: 256 MB 题目连接 acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=20184 Description Michael graduated of ITESO this year and finally has a job. He's making a lot of money, but somehow never seem…
这道题目还是简单的,但是自己WA了好几次,总结下: 1.对输入的总结,加上上次ZOJ Problem Set - 1334 Basically Speaking ac代码及总结这道题目的总结 题目要求输入的格式: START X Y Z END 这算做一个data set,这样反复,直到遇到ENDINPUT.我们可以先吸纳一个字符串判断其是否为ENDINPUT,若不是进入,获得XYZ后,吸纳END,再进行输出结果 2.注意题目是一个圆周,所以始终用锐角进行计算,即z=360-z; 3.知识点的误…
Financial Management Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 126087   Accepted: 55836 Description Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has deci…
Financial Management Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 179458   Accepted: 67604 Description Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has deci…
[POJ1004]Financial Management 试题描述 Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab hold of his financial portfolio and solve his financing pr…
Financial Management Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 164431   Accepted: 61085 Description Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has deci…