会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CM_Lunatic
之前在用csdn后期会逐渐转到博客园
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
40
41
42
43
44
45
46
47
48
···
98
下一页
2019年11月12日
二叉树
摘要: 牛客的数据,没我学校的数据强,哭了戳我!描述如上图所示,由正整数1,2,3……组成了一颗二叉树。我们已知这个二叉树的最后一个结点是n。现在的问题是,结点m所在的子树中一共包括多少个结点。比如,n = 12,m =...
阅读全文
posted @ 2019-11-12 11:40 风骨散人
阅读(116)
评论(0)
推荐(0)
2019年11月10日
图论--网络流--最大流 洛谷P4722(hlpp)
摘要: 题目描述给定 nn 个点,mm 条有向边,给定每条边的容量,求从点 ss 到点 tt 的最大流。输入格式第一行包含四个正整数nn、mm、ss、tt,用空格分隔,分别表示点的个数、有向边的个数、源点序号、汇点序号。...
阅读全文
posted @ 2019-11-10 12:06 风骨散人
阅读(187)
评论(0)
推荐(0)
图论--网络流--费用流POJ 2195 Going Home
摘要: DescriptionOn a grid map there are n little men and n houses. In each unit time, every little man can move...
阅读全文
posted @ 2019-11-10 11:54 风骨散人
阅读(138)
评论(0)
推荐(0)
图论--网络流--费用流--POJ 2156 Minimum Cost
摘要: DescriptionDearboy, a goods victualer, now comes to a big problem, and he needs your help. In his sale are...
阅读全文
posted @ 2019-11-10 10:49 风骨散人
阅读(114)
评论(0)
推荐(0)
2019年11月7日
JAVA大数
摘要: BigInteger abs() //返回大整数的绝对值BigInteger add(BigInteger val)// 返回两个大整数的和BigInteger and(BigInteger val) //返回两...
阅读全文
posted @ 2019-11-07 16:19 风骨散人
阅读(98)
评论(0)
推荐(0)
JAVA大数--POJ 1715 大菲波数
摘要: Problem DescriptionFibonacci数列,定义如下:f(1)=f(2)=1f(n)=f(n-1)+f(n-2) n>=3。计算第n项Fibonacci数值。 Input输入第一行为一个整数N,...
阅读全文
posted @ 2019-11-07 16:15 风骨散人
阅读(99)
评论(0)
推荐(0)
JAVA大数几算--HDU 2054 A == B ?
摘要: Problem DescriptionGive you two numbers A and B, if A is equal to B, you should print "YES", or print "NO"...
阅读全文
posted @ 2019-11-07 15:21 风骨散人
阅读(114)
评论(0)
推荐(0)
2019年11月6日
CodeForces - 1245F Daniel and Spring Cleaning (数位DP)
摘要: While doing some spring cleaning, Daniel found an old calculator that he loves so much. However, it seems ...
阅读全文
posted @ 2019-11-06 23:50 风骨散人
阅读(102)
评论(0)
推荐(0)
CodeForces - 1245 D - Shichikuji and Power Grid
摘要: Shichikuji is the new resident deity of the South Black Snail Temple. Her first job is as follows:There ar...
阅读全文
posted @ 2019-11-06 23:42 风骨散人
阅读(122)
评论(0)
推荐(0)
CodeForces - 1245 C - Constanze's Machine
摘要: Codeforces Round #597 (Div. 2) Constanze is the smartest girl in her village but she has bad eyesight.On...
阅读全文
posted @ 2019-11-06 23:30 风骨散人
阅读(87)
评论(0)
推荐(0)
上一页
1
···
40
41
42
43
44
45
46
47
48
···
98
下一页