自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

实乃悲怜的博客

平时放一些自己写的题吧,虽然都是矿泉水...

  • 博客(20)
  • 收藏
  • 关注

原创 网络流24题,启动

网络流24题   题目名称 试题链接 1 飞行员配对方案问题 https://www.oj.swust.edu.cn/problem/show/1736 2 太空飞行计划问题 https://www.oj.swust.edu.cn/problem/show/1737 3 最小路径覆盖问题 https://www.oj.swust.edu...

2018-09-20 15:10:24 568

原创 2014ACM/ICPC亚洲区鞍山站-E||HDU - 5074

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5074Hatsune MikuTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1955    Accepted Submissio...

2018-09-13 20:12:36 230

原创 2014ACM/ICPC亚洲区广州站-I||HDU - 5135

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5135Little Zu Chongzhi's TrianglesTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 512000/512000 K (Java/Others)Problem DescriptionZu Chon...

2018-09-08 10:45:46 610

原创 [kuangbin带你飞]专题十一 网络流||POJ - 3281

题目链接:http://poj.org/problem?id=3281DiningCows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consume no others.Farmer John has cooked fabulous meal...

2018-09-02 10:54:15 190

原创 UVALive 7045—Last Defence

链接:https://icpcarchive.ecs.baylor.edu/index.phpoption=com_onlinejudge&Itemid=8&page=show_problem&problem=5057题意:给出数列前两项和递推公式,问你整个数列有多少个不同的数字 思路:我们首先打个表,发现会出现循环段,即x,x-b,b.然后分析一下设A=x...

2018-09-01 10:58:23 215

原创 牛客网暑期ACM多校训练营(第八场)E-Touring cities

链接:https://www.nowcoder.com/acm/contest/146/E来源:牛客网 题目描述Niuniu wants to tour the cities in Moe country. Moe country has a total of n*m cities. The positions of the cities form a grid with n rows...

2018-08-14 15:11:42 250

原创 牛客网暑期ACM多校训练营(第七场)A-Minimum Cost Perfect Matching

链接:https://www.nowcoder.com/acm/contest/145/A来源:牛客网 题目描述You have a complete bipartite graph where each part contains exactly n nodes, numbered from 0 to n - 1 inclusive.The weight of the edge c...

2018-08-13 14:17:01 201

原创 牛客网暑期ACM多校训练营(第八场)G-Counting regions

链接:https://www.nowcoder.com/acm/contest/146/G来源:牛客网 题目描述Niuniu likes mathematics. He also likes drawing pictures. One day, he was trying to draw a regular polygon with n vertices. He connected e...

2018-08-12 10:43:37 312

原创 牛客练习赛24 C-PH试纸

链接:https://www.nowcoder.com/acm/contest/157/C来源:牛客网 题目描述    PH试纸,是一种检测酸碱度的试纸,试纸红色为酸性,蓝色为碱性。    HtBest有一个PH试纸,试纸被分成了n段,每一段都可以被染色成红色或者蓝色,WHZ在试纸的每一段上都染为一种颜色,HtBest有m个询问,对于每个询问,Ta想知道某种颜色第qi次在什么地方出...

2018-08-11 11:06:37 188

原创 牛客练习赛24 A-石子阵列

链接:https://www.nowcoder.com/acm/contest/157/A来源:牛客网 题目描述xb有m种石子,每种无限个,Ta想从这些石子中取出n个,并按顺序排列起来,为了好看,相邻的石子不能相同。xb想知道有多少种排列的方法。输入描述:第一行有两个正整数n,m。输出描述:第一行一个整数,表示在m种石子中取出n个的排列方案数模1000000007后的...

2018-08-11 09:55:35 206

原创 [kuangbin带你飞]专题一 简单搜索||POJ - 1321

题目链接:http://poj.org/problem?id=1321棋盘问题在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。 每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个n...

2018-08-07 20:30:56 162

原创 牛客网暑期ACM多校训练营(第六场)J-Heritage of skywalkert

链接:https://www.nowcoder.com/acm/contest/144/J来源:牛客网  题目描述skywalkert, the new legend of Beihang University ACM-ICPC Team, retired this year leaving a group of newbies again. Rumor has it th...

2018-08-07 14:56:24 3670

原创 牛客网暑期ACM多校训练营(第六场)A-Singing Contest

链接:https://www.nowcoder.com/acm/contest/144/A来源:牛客网 题目描述Jigglypuff is holding a singing contest. There are 2n singers indexed from 1 to 2n participating in the contest.The rule of this contest ...

2018-08-05 16:16:32 238

原创 牛客网暑期ACM多校训练营(第六场)D-Bulbasaur

链接:https://www.nowcoder.com/acm/contest/144/D来源:牛客网 题目描述Silph company deployed a passenger flow analysis system in a clothing store that captures photos of human faces and photos of human bodies...

2018-08-04 21:08:06 397

原创 2018 杭电暑期多校第四场 Problem L. Graph Theory Homework

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6343Problem L. Graph Theory HomeworkTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 366   ...

2018-08-02 09:39:47 223

原创 牛客网暑期ACM多校训练营(第二场)G-transform

链接:https://www.nowcoder.com/acm/contest/140/G来源:牛客网 题目描述White Cloud placed n containers in sequence on a axes. The i-th container is located at x[i] and there are a[i] number of products in it....

2018-07-24 20:44:43 203

原创 牛客网小白月赛5 I-区间 (interval)

链接:https://www.nowcoder.com/acm/contest/135/I来源:牛客网 题目描述    Apojacsleam喜欢数组。    他现在有一个n个元素的数组a,而他要对a[L]-a[R]进行M次操作:        操作一:将a[L]-a[R]内的元素都加上P        操作二:将a[L]-a[R]内的元素都减去P    最后询问a[l...

2018-07-23 20:23:47 594 6

原创 牛客网小白月赛5 H-最大公约数(lcm)

链接:https://www.nowcoder.com/acm/contest/135/H来源:牛客网 题目描述给定两个正整数a,b,求a,b的最小公倍数。(即[a,b])输入描述:两个整整数,a,b输出描述:一个正整数,表示[a,b]输入12 24输出24输入8 12输出24说明对于输入输出的所有数据,保证...

2018-07-23 20:18:51 290

原创 牛客网暑期ACM多校训练营(第二场)A- run

链接:https://www.nowcoder.com/acm/contest/140/D来源:牛客网 题目描述White Cloud has built n stores numbered from 1 to n.White Rabbit wants to visit these stores in the order from 1 to n.The store numbered...

2018-07-23 20:07:06 199

原创 牛客网暑期ACM多校训练营(第二场)D-money

链接:https://www.nowcoder.com/acm/contest/140/D来源:牛客网 题目描述White Cloud has built n stores numbered from 1 to n.White Rabbit wants to visit these stores in the order from 1 to n.The store numbered...

2018-07-23 16:35:09 283

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除