- 博客(7)
- 收藏
- 关注
转载 CodeForces977D Divide by three, multiply by two
题目 Polycarp likes to play with numbers. He takes some integer number xx, writes it down on the board, and then performs with it n−1n−1operations of the two kinds: divide the number xx by 33 (xx...
2019-03-31 00:05:00
80
转载 HDU2045 不容易系列之(3)—— LELE的RPG难题
HDU2045 不容易系列之(3)—— LELE的RPG难题 题目 来源:http://acm.hdu.edu.cn/showproblem.php?pid=2045 参考:https://blog.csdn.net/lsgqjh/article/details/44968881 Problem Description 人称“AC女之杀手”的超级偶像LELE最近忽然玩起了深沉,这可急坏...
2019-01-23 22:02:00
67
转载 HDU1033 Edge
HDU1033 Edge 题目 http://acm.hdu.edu.cn/showproblem.php?pid=1033 Problem Description For products that are wrapped in small packings it is necessary that the sheet of paper containing the directio...
2019-01-22 11:38:00
79
转载 Candy Sharing Game——hdu1034
题目 来源:http://acm.hdu.edu.cn/showproblem.php?pid=1034 参考:https://blog.csdn.net/lttree/article/details/24695925 A number of students sit in a circle facing their teacher in the center. Each stud...
2019-01-21 20:36:00
63
转载 在2147483647的边缘疯狂试探
2147483648的缘起 最近其实一直都在是摸鱼的状态,编程也很少了。其实自己真的想有一段时间啥都别顾及的只是敲代码就行了的时光。说我怠惰也好,现在感觉就是我干什么都有一种没有用的感觉。 这次碰到的这个问题源于我们C 语言课上的实验 #include <stdio.h> int main() { int max(int x,int y); int a,b,...
2018-11-01 00:16:00
170
转载 A+B for Input-Output Practice (III)
脑子 今天照样是感觉自己脑子不好使 A+B for Input-Output Practice (III) 题目在上懒得搬了 代码 先看代码吧 我的渣代码: #include <stdio.h> #include <math.h> int main() { int a,b; while (scanf("%d %d",&a,&b)!=...
2018-10-16 23:59:00
102
转载 C语言求最大公因数和最小公倍数
po上一段前几天在手机上写的一段... 其实把问题弄得复杂化了,因为我一直在想着get_factors()要是能返回数组该多好啊。。。 为了完全按照我的想法进行下去,就有了下面这段办法,当然这是百度之后的解决办法了。但其实自己对于这段代码的也理解不透,涉及到了指针。今后的自己再来解释这个问题吧。 方法?就是最粗暴的列举罢了。虽然高中时学过啥辗转相除法,更相减损术,但还是没什么印象。。这就...
2018-10-08 23:38:00
749
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人