上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 45 下一页
摘要: What Are You Talking About HDU - 1075 题目链接:https://vjudge.net/problem/HDU-1075 题目: Ignatius is so lucky that he met a Martian yesterday. But he didn't 阅读全文
posted @ 2019-08-19 23:26 branna 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1001 度度熊与数字 题目链接:http://bestcoder.hdu.edu.cn/contests/contest_showproblem.php?cid=862&pid=1001 题目: 思路:先求出这个数每个位置上的和,可以用字符串处理,sprintf,然后在sqrt(n)内求出n的因子 阅读全文
posted @ 2019-08-18 19:19 branna 阅读(367) 评论(0) 推荐(0) 编辑
摘要: Por Costel and the Match Gym - 100923H 题目链接:https://vjudge.net/problem/Gym-100923H 题目: Oberyn Martell and Gregor Clegane are dueling in a trial by com 阅读全文
posted @ 2019-08-18 18:36 branna 阅读(257) 评论(0) 推荐(0) 编辑
摘要: A级数求和 题目链接:https://ac.nowcoder.com/acm/contest/1077/A 题目描述 已知:Sn= 1+1/2+1/3+…+1/n。显然对于任意一个整数K,当n足够大的时候,Sn大于K。 现给出一个整数K(1<=k<=15),要求计算出一个最小的n;使得Sn>K。 输 阅读全文
posted @ 2019-08-18 15:02 branna 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Seq HDU - 6672 题目链接:https://vjudge.net/problem/HDU-6672 题目: 思路:这种题一看数据量那么大,而且是求公式,首先先打100个数据出来看看规律即可,以下代码注释的部分是我一开始打表观察数据的,应该很容易找到当是6的倍数时, 结果是它的一半,然后就 阅读全文
posted @ 2019-08-18 00:21 branna 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 45 下一页