随笔分类 -  模拟

摘要:Problem CChinese MahjongMahjong () is a game of Chinese origin usually played by four persons with tiles resembling dominoes and bearing various designs, which are drawn and discarded until one player wins with a hand of four combinations of three tiles each and a pair of matching tiles.A set of Mah 阅读全文
posted @ 2013-05-15 18:47 剑不飞 阅读(265) 评论(0) 推荐(0)
摘要:There are several colored cubes. All of them are of the same size but they may be colored differently. Each face of these cubes has a single color. Colors of distinct faces of a cube may or may not be the same.Two cubes are said to beidentically coloredif some suitable rotations of one of the cubes 阅读全文
posted @ 2013-05-15 16:42 剑不飞 阅读(404) 评论(0) 推荐(0)
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3266 Accepted Submission(s): 1519Problem DescriptionA robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a gri 阅读全文
posted @ 2012-04-25 16:21 剑不飞 阅读(165) 评论(0) 推荐(0)