yliu_cs
yliu_cs
全部文章
分类
未归档(308)
归档
标签
去牛客网
登录
/
注册
yliu_cs的博客
全部文章
(共308篇)
HDU 6111 迷宫出逃(bfs+状态压缩+hash去重)
Description: 小明又一次陷入了大魔王的迷宫,在无人机的帮忙下,小明获得了整个迷宫的草图。 不同于一般的迷宫,魔王在迷宫里安置了机关,一旦触碰,那么四个方向所在的格子,将翻转其可达性(原先可通过的格子不可通过,反之亦然,机关可以反复触发)。为了防止小明很容易地出逃,魔王在临走前把钥匙丢在...
2018-09-05
0
313
计蒜客 ACM-ICPC 2018 南京赛区网络预赛 L. Magical Girl Haze(分层图最短路)
Description: There are N N N cities in the country, and ...
2018-09-04
0
323
HDU 1251 统计难题(字典树)
Description: Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input: 输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老...
2018-09-04
0
418
HDU 6447 YJJ's Salesman(离散化+线段树+动态规划)
Description: YJJ is a salesman who has traveled through western country. YJJ is always on journey. Either is he at the destination, or on the way to ...
2018-08-28
0
289
HDU 6440 Dream(费马小定理)
Description: Freshmen frequently make an error in computing the power of a sum of real numbers, which usually origins from an incorrect equation ...
2018-08-27
0
308
HDU 6441 Find Integer(费马大定理)
Description: people in USSS love math very much, and there is a famous math problem . give you two integers n,a,you are required to find 2 integers b...
2018-08-27
0
344
HDU 6446 Tree and Permutation
Description: There are N vertices connected by N−1 edges, each edge has its own length. The set { 1,2,3,…,N } contains a total of N! unique permutati...
2018-08-27
0
348
Codeforces Round #506 (Div. 3)
A. Many Equal Substrings Description: You are given a string t t t ...
2018-08-26
0
415
HDU 6438 Buy and Resell(优先队列)
Description: The Power Cube is used as a stash of Exotic Power. There are n cities numbered 1,2,…,n where allowed to trade it. The trading price of t...
2018-08-26
0
449
Codeforces 865D Buy Low Sell High(优先队列)
Description: You can perfectly predict the price of a certain stock for the next N days. You would like to profit on this knowledge, but only want to...
2018-08-25
0
384
首页
上一页
7
8
9
10
11
12
13
14
15
16
下一页
末页