![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小知识
古语.
这个作者很懒,什么都没留下…
展开
-
POJ - 3104(二分答案)
最让HSQ学长头疼的就是洗衣服了。洗完之后,每件衣服都有一定单位水分,在不使用烘干器的情况下,每件衣服每分钟自然流失1个单位水分,但如果使用了烘干机则每分钟流失K个单位水分。令人遗憾是HSQ所在的宿舍楼只有1台烘干机,而每台烘干机同时只能烘干1件衣服,请问要想烘干N件衣服最少需要多长时间?输入第一行输入N,表示有N件衣服,第二行输入N件衣服的水分ai,第三行表示烘干机每分钟烘干水分K其...原创 2019-04-01 19:25:03 · 1107 阅读 · 0 评论 -
Bored Three-God (大数加法)
The bored Three-God get another boring question.This problem is ask you plus two big nubmer, please help him, when you solve thisproblem you canspeak to Three-God,"Oh, Please give me a diffculte...原创 2019-03-29 19:17:19 · 160 阅读 · 0 评论 -
You are my brother (树的深度)
Little A gets to know a new friend, Little B, recently. One day, they realize that they are family 500 years ago. Now, Little A wants to know whether Little B is his elder, younger or brother.Input...原创 2019-03-29 18:14:44 · 480 阅读 · 0 评论 -
HDU - 1250 (大数加法)
A Fibonacci sequence is calculated by adding the previous two members the sequence, with the first two members being both 1.F(1) = 1, F(2) = 1, F(3) = 1,F(4) = 1, F(n>4) = F(n - 1) + F(n-2) + F(n-...原创 2019-03-26 23:32:44 · 177 阅读 · 0 评论 -
求余数(大数取余)
题目描述:现在给你一个自然数n,它的位数小于等于一百万,现在你要做的就是求出这个数除10003之后的余数输入描述:第一行有一个整数m(1<=m<=8),表示有m组测试数据;随后m行每行有一个自然数n。输出描述:输出n整除10003之后的余数,每次输出占一行。样例输入:345465456541样例输出:456948相当于一段一...原创 2019-01-04 19:23:53 · 5068 阅读 · 0 评论 -
画图、xxx 各种函数
头文件 #include<graphics.h>建窗口 initgraph(540, 450); getchar(); closegraph();背景色 要刷新 setbkcolor(RED); cleardevice();画点 putpixel(x,y,RED);画线 颜色: setlinecolor(RED)...原创 2019-05-15 20:27:32 · 232 阅读 · 0 评论