发表评论取消回复
相关阅读
相关 HDU 1495 非常可乐(BFS + 模拟)
思路:bfs求解,对每一个状态的S,N,M,有六种方式倒水(S->N,S->M;N->S,N->M;M->S,M->N),当三个杯子当中任意两个杯子装水等于S/2时,即为解。
相关 HDU - 1264 (暴力模拟)
题目:[https://cn.vjudge.net/problem/HDU-1264][https_cn.vjudge.net_problem_HDU-1264] 思路:直接
相关 HDU 1254(BFS)
题意:如题。 include <cstdio> include <cstring> include <iostream> include
相关 HDU 4775 Infinite Go(暴力模拟+BFS)
Go is a proverbial board game originated in China. It has been proved to be the most d
相关 HDU 1728(BFS)
问题描述: 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些
相关 HDU 5533 Dancing Stars on Me (暴力模拟+思维)
The sky was brushed clean by the wind and the stars were cold in a black sky. What a won
相关 hdu 5546 Ancient Go(bfs+模拟)
Yu Zhou likes to play Go with Su Lu. From the historical research, we found that there a
相关 WUST 2090 HLD与停车场(bfs||dfs||暴力模拟||巧妙思维)
2090: HLD与停车场 Time Limit: 1 Sec Memory Limit: 128 MB 64bit IO Format: %lld Submitte
相关 Codeforces 196 B. Infinite Maze(bfs)
We've got a rectangular n × m\-cell maze. Each cell is either passable, or is a wall (im
相关 HDU 1495 喝可乐(暴力BFS)
大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和se
还没有评论,来说两句吧...