bfs
ZZ --瑞 hopeACMer
WA就完事了
展开
-
3303——鬼吹灯之牧野诡事(图的遍历)
鬼吹灯之湘西疑陵 Time Limit: 1000 ms Memory Limit: 65536 KiB Submit Statistic Problem Description 现有n种商品,每种商品有Si件,每种商品的价格和质量分别为Pi和Mi。你现在有钱V,问能购买的商品的总质量最大为多少。 Inp...转载 2019-01-28 20:54:32 · 389 阅读 · 0 评论 -
B
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north, south...转载 2019-02-03 20:11:52 · 111 阅读 · 0 评论 -
F
Old MacDonald has a farm and a large potato field, (1010 + 1) × (1010 + 1) square meters in size. The field is divided into square garden beds, each bed takes up one square meter.Old McDonald knows t...转载 2019-02-07 21:06:19 · 147 阅读 · 0 评论 -
F
Old MacDonald has a farm and a large potato field, (1010 + 1) × (1010 + 1) square meters in size. The field is divided into square garden beds, each bed takes up one square meter.Old McDonald knows t...转载 2019-02-07 21:09:30 · 257 阅读 · 0 评论 -
B - Dungeon Master
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north, south...转载 2019-02-17 13:58:16 · 244 阅读 · 0 评论 -
D - Find The Multiple
Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assume that n is not greater than 200 and there...转载 2019-02-17 13:58:11 · 154 阅读 · 0 评论