搜索
文章平均质量分 77
shyoldman
lalala~~~
展开
-
HDU 2181 哈密顿绕行世界问题
哈密顿绕行世界问题 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4894 Accepted Submission(s): 2946 Problem Description 一个规则的实心十二面体,它的 20个顶点原创 2017-07-29 16:19:18 · 194 阅读 · 0 评论 -
POJ 2251 Dungeon Master
Dungeon Master Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 36015 Accepted: 13730 Description You are trapped in a 3D dungeon and need to find the quick原创 2017-07-29 10:43:49 · 221 阅读 · 0 评论 -
HDU 1010 Tempter of the Bone
Tempter of the Bone Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 126708 Accepted Submission(s): 34177 Problem Description The dog原创 2017-07-29 11:47:02 · 188 阅读 · 0 评论 -
POJ 1321 棋盘问题
棋盘问题 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 48123 Accepted: 23306 Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求原创 2017-07-29 12:05:17 · 164 阅读 · 0 评论 -
HDU 2209 翻纸牌游戏
翻纸牌游戏 Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3768 Accepted Submission(s): 1413 Problem Description 有一种纸牌游戏,很有意思,给你N张纸牌,原创 2017-08-24 21:35:19 · 329 阅读 · 0 评论 -
POJ 3669 Meteor Shower
Meteor Shower Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 21487 Accepted: 5605 Description Bessie hears that an extraordinary meteor shower is comi原创 2017-08-27 07:56:34 · 241 阅读 · 0 评论 -
HDU 1015 Safecracker
Safecracker Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 15088 Accepted Submission(s): 7960 Problem Description === Op tech brief原创 2017-08-30 13:37:04 · 222 阅读 · 0 评论 -
HDU 1026 Ignatius and the Princess I
Ignatius and the Princess I Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 19772 Accepted Submission(s): 6437 Special Judge Problem D原创 2017-08-30 14:49:14 · 375 阅读 · 0 评论 -
HDU 1181 变形课
变形课 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 25852 Accepted Submission(s): 9445 Problem Description 呃......变形课上Harry碰到了一点小麻烦原创 2017-08-30 15:06:59 · 211 阅读 · 0 评论 -
HDU 1072 Nightmare
Nightmare Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 12330 Accepted Submission(s): 6015 Problem Description Ignatius had a nigh原创 2017-08-30 15:56:45 · 196 阅读 · 0 评论 -
51nod 1268 和为K的组合
1268 和为K的组合 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 收藏 关注 给出N个正整数组成的数组A,求能否从中选出若干个,使他们的和为K。如果可以,输出:"Yes",否则输出"No"。 Input 第1行:2个数N, K, N为数组的长度, K为需要判断的和(2 <= N原创 2017-09-16 22:59:48 · 286 阅读 · 0 评论 -
codeforces 580C Kefa and Park
C. Kefa and Park time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kefa decided to celebrate his first big sa原创 2017-09-26 10:26:07 · 352 阅读 · 0 评论 -
codeforces 611B New Year and Old Property
B. New Year and Old Property time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The year 2015 is almost over.原创 2017-09-28 11:25:57 · 258 阅读 · 0 评论 -
51nod 1109 01组成的N的倍数
1109 01组成的N的倍数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 给定一个自然数N,找出一个M,使得M > 0且M是N的倍数,并且M的10进制表示只包含0或1。求最小的M。 例如:N = 4,M = 100。 Input 输入1个数N。(1 Ou原创 2017-10-14 23:43:16 · 270 阅读 · 0 评论 -
ZOJ 4020 Traffic Light
Traffic LightTime Limit: 1 Second Memory Limit: 131072 KBDreamGrid City is a city with intersections arranged into a grid of rows and columns. The intersection on the -th row and the -th colum...原创 2018-04-08 11:32:08 · 796 阅读 · 0 评论 -
HDU 1973 Prime Path
Prime Path Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 763 Accepted Submission(s): 473 Problem Description The ministers of the原创 2017-07-29 09:14:21 · 323 阅读 · 0 评论 -
UVA 11624 Fire!
Problem B: Fire! Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. Help Joe escape the maze. Given原创 2017-07-28 11:12:28 · 239 阅读 · 0 评论 -
POJ 1426 Find The Multiple
Find The Multiple Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 33048 Accepted: 13830 Special Judge Description Given a positive integer n, write a p原创 2017-07-29 20:09:32 · 187 阅读 · 0 评论 -
POJ 2676 Sudoku
Sudoku Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 20638 Accepted: 9873 Special Judge Description Sudoku is a very simple task. A square table with原创 2017-07-29 22:52:24 · 227 阅读 · 0 评论 -
HDU 1016 Prime Ring Problem
Prime Ring Problem Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 52000 Accepted Submission(s): 23028 Problem Description A ring is原创 2017-07-24 21:32:39 · 195 阅读 · 0 评论 -
HDU 1312 Red and Black
Red and Black Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 20902 Accepted Submission(s): 12725 Problem Description There is a rec原创 2017-07-29 23:22:04 · 239 阅读 · 0 评论 -
HDU 2102 A计划
Problem Description 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。 现据密探所报,公主被关在一个两层的迷宫里,迷宫的入口是S(0,0,0),公主的位原创 2017-07-08 11:12:44 · 178 阅读 · 0 评论 -
HDU5113 Black And White
Black And White Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others) Total Submission(s): 4198 Accepted Submission(s): 1148 Special Judge Problem Description原创 2017-07-08 11:18:47 · 246 阅读 · 0 评论 -
POJ 3984 迷宫问题
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 23425 Accepted: 13650 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0,原创 2017-07-30 08:22:54 · 192 阅读 · 0 评论 -
这题别看了,跳过吧
有n个正整数,求从这n个正整数里选任意个数之后加和大于S有多少种选法 输入 第一行输入测试用例的个数T(0 对于每一个测试用例输入两行,第一行两个正整数,第一个数n(0 第二行输入n个正整数a1...an(0 输出 每个测试用例输出一个数,代表从这n个正整数里选任意个数之后加和大于S的选法 样例输入1 1 4 8 1 2 3 4 样例输出1原创 2017-06-04 17:00:28 · 414 阅读 · 0 评论 -
HDU 1175 连连看
连连看 Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 35902 Accepted Submission(s): 8903 Problem Description “连连看”相信很多人都玩过。没玩过也没关系,下原创 2017-07-09 13:47:20 · 282 阅读 · 0 评论 -
POJ 1562 Oil Deposits
Oil Deposits Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 18167 Accepted: 9638 Description The GeoSurvComp geologic survey company is responsible for de原创 2017-07-24 19:03:55 · 191 阅读 · 0 评论 -
HDU 2717 Catch That Cow
Catch That Cow Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 15499 Accepted Submission(s): 4650 Problem Description Farmer John ha原创 2017-07-24 20:17:54 · 222 阅读 · 0 评论 -
HDU 3345 War Chess
War Chess Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2975 Accepted Submission(s): 750 Problem Description War chess is hh's fav原创 2017-08-10 22:50:04 · 282 阅读 · 0 评论 -
POJ 2312 Battle City
Battle City Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9170 Accepted: 3043 Description Many of us had played the game "Battle city" in our childhood,原创 2017-08-10 23:07:38 · 270 阅读 · 0 评论 -
CodeForces 377A Maze
A. Maze time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Pavel loves grid mazes. A grid maze is an n × m rectangle maz原创 2017-08-11 14:30:52 · 344 阅读 · 0 评论 -
UVA 10047 The Monocycle (bfs)
点击打开链接题目大意:有一个独轮车,他可以向左转,向右转,直走,向左转和向右转都只改变方向,直走会改变车轮的颜色,问最后能不能从S点走到T点。如果能,求出最小时间把坐标,方向,颜色作为状态,然后进行bfs即可#include<iostream> #include<cstring> #include<cstdio> #include<queue> us...原创 2018-07-04 16:44:19 · 135 阅读 · 0 评论