![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
简单搜索
hehedad
这个作者很懒,什么都没留下…
展开
-
POJ 3414-Pots
PotsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 21559 Accepted: 9205 Special JudgeDescriptionYou are given two pots, having the volume of A and B liters respectively. The following opera...原创 2018-07-09 00:51:24 · 128 阅读 · 0 评论 -
2019牛客暑期多校训练营(第八场)D Distance(定期重构+BFS)
链接:https://ac.nowcoder.com/acm/contest/888/D来源:牛客网题目描述Gromah and LZR have entered the fourth level. There is a blank cube with sizen×m×hn\times m\times hn×m×h hanging on the wall.Groma...原创 2019-08-12 15:54:01 · 193 阅读 · 0 评论 -
2019牛客暑期多校训练营(第二场)D Partition problem(第k大)
链接:https://ac.nowcoder.com/acm/contest/882/D来源:牛客网时间限制:C/C++ 2秒,其他语言4秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述Given a vertex-weighted graph with N vertices, find out the K-th...原创 2019-07-20 21:39:34 · 302 阅读 · 0 评论 -
2019牛客暑期多校训练营(第二场)F Partition problem(思维暴力)
链接:https://ac.nowcoder.com/acm/contest/882/F来源:牛客网时间限制:C/C++ 4秒,其他语言8秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述Given 2N people, you need to assign each of them into either red...原创 2019-07-20 19:18:12 · 214 阅读 · 0 评论 -
CodeForces - 767C Garland (dfs)
Once at New Year Dima had a dream in which he was presented a fairy garland. A garland is a set of lamps, some pairs of which are connected by wires. Dima remembered that each two lamps in the garland...原创 2018-08-26 18:25:43 · 321 阅读 · 0 评论 -
HDU - 6386 Age of Moyu
Mr.Quin love fishes so much and Mr.Quin’s city has a nautical system,consisiting ofNN ports and MM shipping lines. The ports are numbered 11 to NN. Each line is occupied by a Weitian. Each Weitian has...原创 2018-08-15 23:37:33 · 184 阅读 · 0 评论 -
HDU - 6351 Beautiful Now (暴力dfs枚举)
Anton has a positive integer nn, however, it quite looks like a mess, so he wants to make it beautiful after kk swaps of digits. Let the decimal representation of nn as (x1x2⋯xm)10(x1x2⋯xm)10 satisfy...原创 2018-08-12 01:16:50 · 389 阅读 · 0 评论 -
POJ-3126 Find The Multiple(emmmmmBFS?)
Find The MultipleTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 40365 Accepted: 16924 Special JudgeDescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of...原创 2018-07-07 17:27:01 · 109 阅读 · 0 评论 -
POJ-2251 Dungeon Master (搜索)
Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 46122 Accepted: 17400DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed o...原创 2018-07-07 01:15:18 · 138 阅读 · 0 评论 -
Poj 1321棋盘问题(八皇后问题)
原题目:棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 62732 Accepted: 30027Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。In...原创 2018-07-07 00:27:32 · 468 阅读 · 0 评论 -
HDU - 2612 Find a way(BFS)
Find a wayTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 22363 Accepted Submission(s): 7293Problem DescriptionPass a year learning in Hangzh...原创 2018-07-11 00:58:15 · 108 阅读 · 0 评论 -
UVA - 11624 Fire!(BFS)
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2671因为是pdf形式我就不打了,各位上去看吧。 大体意思就是,有一个人,要赶在火焰烧到他前炮出这个迷宫,他自己只能基础四方向的一个方向移动,火焰是每次四方向扩散,其中'...原创 2018-07-10 23:44:13 · 147 阅读 · 0 评论 -
Problem 2150 Fire Game (DFS+BFS)
Problem 2150 Fire Game Accept: 3417 Submit: 11710Time Limit: 1000 mSec Memory Limit : 32768 KBProblem DescriptionFat brother and Maze are playing a kind of special (hentai) game on an N*M board ...原创 2018-07-10 15:47:12 · 246 阅读 · 0 评论 -
上海网络赛 F Rhyme scheme(预处理+dfs)
A rhyme scheme is the pattern of rhymes at the end of each line of a poem or song. It is usually referred to by using letters to indicate which lines rhyme; lines designated with the same letter all r...原创 2019-09-15 23:30:49 · 411 阅读 · 0 评论