摘要:
Passage时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交: 40 测试通过: 20 描述Bill is a millionaire. But unfortunately he was trapped in a castle. There are only n passages to go out. For any passage i (1 P2 / Q2 => P1 * Q2 > P2 * Q1ret1 - ret2 = P2 * Q1 - P1 * Q2 2 #include 3 #include 4 usin... 阅读全文
摘要:
Add number时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交: 60 测试通过: 21 描述Employees of Baidu like to play a game called Making Numbers. It goes like this: there are two players in the game, one is called little A, the other little B. There are some cards with a number on each one of them,... 阅读全文
摘要:
Hidden Password时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交: 53 测试通过: 19 描述Some time the programmers have very strange ways to hide their passwords. See for example how Billy "Hacker" Geits hide his password. Billy chooses a string S composed of small Latin letters with length L. Then. 阅读全文