
搜索
不楸
现在的自己对的起以后
展开
-
FZU 2150(BFS+枚举)
Problem 2150 Fire GameAccept: 3771 Submit: 12867Time Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionFat brother and Maze are playing a kind of special (hentai) game on an N*M...原创 2018-08-31 16:22:20 · 357 阅读 · 0 评论 -
HDU2181(DFS)
题目连接题解:直接DFS传入当前城市如果当前城市是m则返回去寻找父城市直到m判断是访问的城市个数是否为19个如果是就输出否则继续运用stack#include<cstring>#include<cstdio>#include<iostream>#include<string>#include<queue>#includ...原创 2018-08-31 18:25:01 · 202 阅读 · 0 评论 -
POJ2069 模拟退火算法
Super StarTime Limit: 1000MS Memory Limit: 65536K Total Submissions: 6247 Accepted: 1561 Special Judge DescriptionDuring a voyage of the starship Hakodate-maru (see Pro...原创 2018-08-29 15:37:55 · 270 阅读 · 4 评论 -
POJ2420 模拟退火算法
A Star not a Tree?Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9162 Accepted: 3990 DescriptionLuke wants to upgrade his home computer network from 10mbs to 100mbs...原创 2018-08-29 15:42:07 · 304 阅读 · 0 评论 -
HDU2102(简单BFS)
A计划Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 29656 Accepted Submission(s): 7449 Problem Description可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而...原创 2018-09-01 19:16:13 · 212 阅读 · 0 评论 -
ZOJ1008(DFS简单)
Gnome TetravexTime Limit: 10 Seconds Memory Limit: 32768 KBHart is engaged in playing an interesting game, Gnome Tetravex, these days. In the game, at the beginning, the player is given n*n s...原创 2018-09-01 22:00:11 · 496 阅读 · 0 评论 -
蓝桥杯历届试题——剪格子
问题描述如下图所示,3 x 3 的格子中填写了一些整数。+--*--+--+|10* 1|52|+--****--+|20|30* 1|*******--+| 1| 2| 3|+--+--+--+我们沿着图中的星号线剪开,得到两个部分,每个部分的数字和都是60。本题的要求就是请你编程判定:对给定的m x n 的格子中的整数,是否可以分割为两个部分,使得这两个区域的数字...原创 2019-03-08 16:05:13 · 372 阅读 · 0 评论 -
南桥杯历届试题——带分数
问题描述100 可以表示为带分数的形式:100 = 3 + 69258 / 714。还可以表示为:100 = 82 + 3546 / 197。注意特征:带分数中,数字1~9分别出现且只出现一次(不包含0)。类似这样的带分数,100 有 11 种表示法。输入格式从标准输入读入一个正整数N (N<1000*1000)输出格式程序输出该数字用数码1~9不重复不遗漏...原创 2019-03-07 11:13:38 · 420 阅读 · 0 评论