摘要:
SumsetsTime Limit:2000MSMemory Limit:200000KTotal Submissions:11892Accepted:4782DescriptionFarmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are an integer power of 2. Here are the possible sets of numbers that sum to 7: 阅读全文
摘要:
Cow BowlingTime Limit:1000MSMemory Limit:65536KTotal Submissions:13016Accepted:8598DescriptionThe cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling-pin-like triangle like this: 7 3 8 ... 阅读全文
摘要:
Red and BlackTime Limit:1000MSMemory Limit:30000KTotal Submissions:21143Accepted:11292DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles. But he can' 阅读全文