
ACM easy
姚希瑶
以哲学为思想指导、概率学调整得失观,低调做人,高调做事。
展开
-
逃离迷宫
中文-- 题目:给定一个m×n(m行,n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必须绕行,从迷宫的一个位置,只能走到与它相邻的4个位置中,当然在行走过程中,格洛里亚不能走到迷宫外面去。令人头痛的是,格洛里亚是个没什么方向感的人,因此,她在行走过程中,不能转太多弯了,否则她会晕倒的。我们假定给定转载 2017-08-17 16:02:54 · 1199 阅读 · 1 评论 -
贪吃蛇
Description Worm is an old computer game. There are many versions, but all involve maneuvering a "worm" around the screen, trying to avoid running the worm into itself or an obstacle. We'll simula转载 2017-08-17 16:33:08 · 261 阅读 · 0 评论 -
骑士移动
Description A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a given set of n square转载 2017-08-17 16:37:43 · 425 阅读 · 0 评论 -
打怪兽
题目来源 Accepts: 3608 Submissions: 22145 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 度度熊为了拯救可爱的公主,于是与邪恶大魔王战斗起来。 邪恶大魔王的麾下有n个怪兽,每个怪兽有a[i]的转载 2017-08-17 16:40:36 · 456 阅读 · 0 评论 -
Number Sequence
Number Sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 179495 Accepted Submission(s): 44623 Problem Description A numbe原创 2017-09-21 18:29:37 · 1147 阅读 · 0 评论