随笔分类 -  水题

摘要:题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1994水题题目分析 就是两种储存方式,输出所得本金加利息代码#includeint main(void){ double s1,s2,y,q,e,f,g; int n; while(sca... 阅读全文
posted @ 2014-11-24 13:03 立刻行动 阅读(213) 评论(0) 推荐(0)
摘要:题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1861这题很水,就是数据的处理而已;只要小心scanf 的输入即可,小心一点。代码#include#include#include#includeusing namespace std;int main(v... 阅读全文
posted @ 2014-11-20 22:38 立刻行动 阅读(173) 评论(0) 推荐(0)
摘要:题目链接http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5269题目很简单,直接把所有情况列出来。我的AC代码#includeint main(){ int t; int a,b,c; char c1,c2; ... 阅读全文
posted @ 2014-09-22 15:15 立刻行动 阅读(213) 评论(0) 推荐(0)