- 博客(4)
- 收藏
- 关注
原创 HDU 3389 Nim博弈变形
Bob and Alice are playing a new game. There are n boxes which have been numbered from 1 to n. Each box is either empty or contains several cards. Bob and Alice move the cards in turn. In each turn the...
2019-04-22 01:18:38
261
4
原创 HDU 2897 邂逅明下
当日遇到月,于是有了明。当我遇到了你,便成了侣。 那天,日月相会,我见到了你。而且,大地失去了光辉,你我是否成侣?这注定是个凄美的故事。(以上是废话) 小t和所有世俗的人们一样,期待那百年难遇的日食。驻足街头看天,看日月渐渐走近,小t的脖子那个酸呀(他坚持这个姿势已经有半个多小时啦)。他低下仰起的头,环顾四周。忽然发现身边竟站着位漂亮的mm。天渐渐暗下,这mm在这街头竟然如此耀眼,她是天使吗?站着...
2019-04-16 17:39:23
160
1
原创 POJ 2348 Euclid's Game
Two players, Stan and Ollie, play, starting with two natural numbers. Stan, the first player, subtracts any positive multiple of the lesser of the two numbers from the greater of the two numbers, prov...
2019-04-16 13:52:50
164
原创 HDU 5705
Given a time HH:MM:SS and one parameter a, you need to calculate next time satisfying following conditions: The angle formed by the hour hand and the minute hand is a. The time may not be a integer(e...
2019-03-19 00:24:37
329
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人