
数学
notmenotme
这个作者很懒,什么都没留下…
展开
-
Integer Divisibility LightOJ - 1078 数学 取余
If an integer is not divisible by 2 or 5, some multiple of that number in decimal notation is a sequence of only a digit. Now you are given the number and the only allowable digit, you should repo...原创 2018-04-23 11:03:07 · 205 阅读 · 0 评论 -
A Childhood Game LightOJ - 1020 数学 巴什博奕(Bash Game)
Alice and Bob are playing a game with marbles; you may have played this game in childhood. The game is playing by alternating turns. In each turn a player can take exactly one or two marbles. ...原创 2018-04-23 11:19:01 · 164 阅读 · 0 评论 -
Cylinder Candy ZOJ - 3866 数学 几何 积分
Edward the confectioner is making a new batch of chocolate covered candy. Each candy center is shaped as a cylinder with radius r mm and height h mm. The candy center needs to be covered wit...原创 2018-04-25 19:14:57 · 157 阅读 · 0 评论 -
Josephus Problem LightOJ - 1179 数学 约瑟夫
The historian Flavius Josephus relates how, in the Romano-Jewish conflict of 67 A.D., the Romans took the town of Jotapata which he was commanding. Escaping, Josephus found himself trapped in a ca...原创 2018-04-25 20:56:36 · 783 阅读 · 0 评论