摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/12259683.html 母牛的故事(47min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2018 Problem Description 有一头母牛, 阅读全文
posted @ 2020-02-04 15:41 萍2樱释 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/12258409.html 偶数求和(98min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2015 Problem Description 有一个长度为n 阅读全文
posted @ 2020-02-04 09:54 萍2樱释 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/12253690.html 1.数据的交换输出(33min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2016 Problem Description 输入 阅读全文
posted @ 2020-02-02 21:02 萍2樱释 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/12250218.html 1.青年歌手大奖赛_评委会打分(23min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2014 Problem Descript 阅读全文
posted @ 2020-02-01 21:23 萍2樱释 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/12246707.html 1.平方和与立方和(21min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2007 Problem Description 给定 阅读全文
posted @ 2020-01-31 21:00 萍2樱释 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/12243098.html 1.两点间距离(10min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2001 Problem Description 输入两点 阅读全文
posted @ 2020-01-30 16:45 萍2樱释 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 此博客链接:https://www.cnblogs.com/ping2yingshi/p/12241202.html 1.求绝对值(3min) 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2003 Problem Description 求实数的绝对 阅读全文
posted @ 2020-01-29 20:26 萍2樱释 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1.奇数乘积 此题特别简单,只需要加一个奇数判断就,如果是奇数则相乘。 #include<stdio.h> #include<math.h> int main(void) { int n; // scanf("%d",&n); int i; while(~scanf("%d",&n)) { int 阅读全文
posted @ 2020-01-28 21:35 萍2樱释 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 此题没有什么难度,但是需要注意小数除法时,被除数要写成1.0而不是1,要不结果时整数。 #include<stdio.h> #include<math.h> #define f(n) n*n+n+41 int main(void) { int m; scanf("%d",&m); while(m>0 阅读全文
posted @ 2020-01-27 21:31 萍2樱释 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Problem Description 求A^B的最后三位数表示的整数。说明:A^B的含义是“A的B次方” Input 输入数据包含多个测试实例,每个实例占一行,由两个正整数A和B组成(1<=A,B<=10000),如果A=0, B=0,则表示输入数据的结束,不做处理。 Output 对于每个测试实 阅读全文
posted @ 2020-01-21 11:47 萍2樱释 阅读(454) 评论(0) 推荐(0) 编辑