摘要: Lucky NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1240Accepted Submission(s): 635Problem DescriptionTo Chinese people, 8 is a lucky number. Now your task is to judge if a number is lucky. We say a number is lucky if it’s a multiple of 8, 阅读全文
posted @ 2012-04-01 23:46 Stephen Li 阅读(558) 评论(0) 推荐(0) 编辑
摘要: Google MapTime Limit:2 Seconds Memory Limit:65536 KBGoogleMap is a useful tool and most of you should be familiar with it. As the best hacker in the world, Jack is planning to retrieve all the data on the GoogleMap server. But he soon gives up because the total amount of data exceeds 1000T bytes! Bu 阅读全文
posted @ 2012-04-01 20:58 Stephen Li 阅读(578) 评论(0) 推荐(0) 编辑
摘要: Code FormatterTime Limit: 2 Seconds Memory Limit: 65536 KBSome companies have special requirements for source code format, and it is also good for programmers to keep consistent code style. You are asked to write a simple code formatter for the company to help the poor programmers.The first thing yo 阅读全文
posted @ 2012-04-01 16:49 Stephen Li 阅读(424) 评论(0) 推荐(0) 编辑
摘要: Image TransformationTime Limit: 2 Seconds Memory Limit: 65536 KBThe image stored on a computer can be represented as a matrix of pixels. In the RGB (Red-Green-Blue) color system, a pixel can be described as a triplex integer numbers. That is, the color of a pixel is in the format "r g b" w 阅读全文
posted @ 2012-04-01 16:19 Stephen Li 阅读(490) 评论(0) 推荐(0) 编辑
摘要: Beautiful MeadowTime Limit: 2 Seconds Memory Limit: 65536 KB Tom has a meadow in his garden. He divides it into N * M squares. Initially all the squares were covered with grass. He mowed down the grass on some of the squares and thinks the meadow is beautiful if and... 阅读全文
posted @ 2012-04-01 15:59 Stephen Li 阅读(531) 评论(0) 推荐(0) 编辑