搜索
文章平均质量分 82
vocaloid01
小菜鸟一只_(:з」∠)_前来膜拜各路大佬orz
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Fire Game (双起点bfs)
Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is consisting of grass or just empty and then they start...原创 2017-07-27 18:33:53 · 452 阅读 · 0 评论 -
HDU - 5012 Dice(状压+BFS)
There are 2 special dices on the table. On each face of the dice, a distinct number was written. Consider a 1.a 2,a 3,a 4,a 5,a 6 to be numbers written on top face, bottom face, left face, right face,...原创 2018-09-08 19:01:51 · 225 阅读 · 0 评论 -
HDU - 5877 Weak Pair (DFS+二分+树状数组+离散化)
You are given a rooted tree of N nodes, labeled from 1 to N. To the ith node a non-negative value ai is assigned.An ordered pair of nodes (u,v) is said to be weak if (1) u is an ancestor of v (Note:...原创 2018-08-31 15:19:10 · 199 阅读 · 0 评论 -
HDU 6386 Age of Moyu(透彻理解BFS求最短距离+DFS)
Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Problem DescriptionMr.Quin love fishes so much and Mr.Quin’s city has a nautical system,consisiting of N ports ...原创 2018-08-13 18:31:58 · 1081 阅读 · 5 评论 -
Alien Security (BFS+DFS)
You are in charge of security at a top-secret government research facility. Recently your government has captured a live extra-terrestrial (ET) life form, and is hosting an open day for fellow researc...原创 2017-07-31 21:50:47 · 603 阅读 · 0 评论 -
POJ - 2449 Remmarguts' Date(A*+SPFA求第K短路)
"Good man never makes girls wait or breaks an appointment!" said the mandarin duck father. Softly touching his little ducks' head, he told them a story."Prince Remmarguts lives in his kingdom UDF – U...原创 2018-07-30 21:50:34 · 275 阅读 · 0 评论 -
HDU - 5094 - 2014上海全国邀请赛 Maze (状压+BFS)
This story happened on the background of Star Trek.Spock, the deputy captain of Starship Enterprise, fell into Klingon’s trick and was held as prisoner on their mother planet Qo’noS.The captain of E...原创 2018-07-17 10:31:29 · 236 阅读 · 0 评论 -
HDU - 1026 Ignatius and the Princess I
The Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has to rescue our pretty Princess. Now he gets into feng5166's castle. The castle is a large labyrinth. To make the problem ...原创 2018-06-07 21:20:41 · 296 阅读 · 0 评论 -
HDU 1495 喝可乐(暴力BFS)
大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 (正好装满一瓶) ,它们三个之间可以相互倒可乐 (都是没有刻度的,且 S==N+M,101>S>...原创 2017-07-28 22:39:17 · 936 阅读 · 0 评论 -
Tempter of the Bone(奇偶剪枝)の反面教材
The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He realized that the bone原创 2017-07-27 19:24:30 · 358 阅读 · 0 评论 -
字节跳动2018校招后端方向(第三批)第二题
二阶魔方又叫小魔方,是2*2*2的立方形结构。每一面都有4个块,共有24个块。每次操作可以将任意一面逆时针或者顺时针旋转90°,如将上面逆时针旋转90°操作如下。Nero在小魔方上做了一些改动,用数字替换每个块上面的颜色,称之为数字魔方。魔方上每一面的优美度就是这个面上4个数字的乘积,而魔方的总优美度就是6个面优美度总和。现在Nero有一个数字魔方,他想知道这个魔方在操作不超过5次的前提...原创 2019-06-29 22:02:40 · 704 阅读 · 2 评论
分享