随笔分类 - ACM-Other
摘要:Data EncodingAccepted : 14Submit : 118Time Limit : 1000 MSMemory Limit : 1048576 KBData EncodingGiven a string S, your job is to encode it into a new string T using given charset C. To make the decoding easy, each original character X in S is encoded into a string Y made up of characters in C. What&
阅读全文
摘要:1024: MiningTime Limit: 1 SecMemory Limit: 128 MBSUBMIT: 14Solved: 4[SUBMIT][STATUS]DescriptionZfy and Kevin are friends and they like to go mining together at some place in the university. About at 6 p.m. they start to feel tired and want to go to dormitory. They want to get to dormitory quickly so
阅读全文
摘要:ImaginationTime Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:65536KBTotal submit users: 81, Accepted users: 75Problem 11081 : No special judgementProblem descriptionThere are four matrixs blow , Can you image the NEXT matrix from the given information?Input The first line is a integer whic
阅读全文
摘要:TheMinesweeperGameTime Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:65536KBTotal submit users: 29, Accepted users: 27Problem 11082 : No special judgementProblem description注:以下说明来自百度百科:http://baike.baidu.com/view/30088.htm#1扫雷简介 扫雷最原始的版本可以追溯到1973年一款名为“方块”的游戏。不久之后,“方块”被改写成了游戏“Rlogic”。在“Rlog
阅读全文
摘要:conyAccept:16Submit:79Time Limit:1000MSMemory Limit:65536KBDescriptionDante 最近研究出了一种新的兔子cony,这种兔子是一种雌雄同体的生物,具有超强的繁殖能力,每个月它可以产下a-1个新兔子,但每月只能产一次.在b个月以后Dante实验室已经拥有了一大群兔子,有一次他突发奇想准备给cony们照相,他有无数个长凳,每个长凳上可以站c个cony,而且每个长凳上要站满了所有的cony才能使用下一个长凳,可是Dante的兔子们不可能正好让每个长凳都站满,于是他只好舍弃一些cony,现在你能告诉他最少需要舍弃多少个cony呢?(
阅读全文
摘要:给你自信Accept:16Submit:55Time Limit:1000MSMemory Limit:65536KBDescription猜拳是一项考人品的游戏,人品差者往往会丢失猜拳的自信。在小的时候,玩纸片游戏,总要用猜拳来制定先后顺序,为了防止剪刀,石头,布同时出现而浪费时间,于是广大玩家对这样的改进达成了共识——如果同时存在这3种手势,那么算石头输,剪刀与布都算赢,此所谓《石头倒大霉》共识。现在这道题目就能给你自信,它就有这么神奇!!现在给出你一个情景,每个情景里有n个人(包括你自己),知道本题的神奇之处在哪里吗?!它能提前告诉你其他所有玩家分别出的是什么!!!!-_-||好的,现在
阅读全文