摘要: 1451.字符串的移动http://acm.xmu.edu.cn/JudgeOnline/problem.php?id=1451Time Limit: 1000 MS Memory Limit: 65536 K Total Submissions: 14 (6 users) Accepted: 2 (2 users) [ My Solution ] Description给定非空字符串S和正整数k, 我们定义函数Shift(S, k)表示将字符串S循环右移k位, 例如Shift("abc", 1) = "cab", Shift("abc&quo 阅读全文
posted @ 2013-03-16 13:20 Jack Ge 阅读(300) 评论(0) 推荐(0) 编辑
摘要: National TreasuresTime Limit : 2000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 3Accepted Submission(s) : 1Font:Times New Roman|Verdana|GeorgiaFont Size:←→Problem DescriptionThe great hall of the national museum has been robbed few times recently. Everyone is now 阅读全文
posted @ 2013-03-16 12:07 Jack Ge 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 棋盘游戏Time Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1Accepted Submission(s) : 1Font:Times New Roman|Verdana|GeorgiaFont Size:←→Problem Description小希和Gardon在玩一个游戏:对一个N*M的棋盘,在格子里放尽量多的一些国际象棋里面的“车”,并且使得他们不能互相攻击,这当然很简单,但是Gardon限制了只有某些格子才可以放,小希还是很轻松的解决了这个 阅读全文
posted @ 2013-03-16 11:30 Jack Ge 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Fire NetTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1Accepted Submission(s) : 1Font:Times New Roman|Verdana|GeorgiaFont Size:←→Problem DescriptionSuppose that we have a square city with straight streets. A map of a city is a square board with n 阅读全文
posted @ 2013-03-16 10:41 Jack Ge 阅读(259) 评论(0) 推荐(0) 编辑
摘要: The Accomodation of StudentsTime Limit : 5000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 1Accepted Submission(s) : 1Font:Times New Roman|Verdana|GeorgiaFont Size:←→Problem DescriptionThere are a group of students. Some of them may know each other, while others d 阅读全文
posted @ 2013-03-16 09:52 Jack Ge 阅读(361) 评论(0) 推荐(0) 编辑