基础数学
gtuif
大多数人永远都不会了解真实的你,但是他们会看到你所做的一切。。。
展开
-
M - Billiard Balls LightOJ - 1323
You are given a rectangular billiard board, L and W be the length and width of the board respectively. Unlike other billiard boards it doesn't have any pockets. So, the balls move freely in the boar原创 2017-08-02 23:29:57 · 430 阅读 · 0 评论 -
HPU第七周周练 I
Slastyona and her loyal dog Pushok are playing a meaningless game that is indeed very interesting.The game consists of multiple rounds. Its rules are very simple: in each round, a natural number k is c原创 2017-11-10 23:31:03 · 250 阅读 · 0 评论 -
D - 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 report t原创 2017-07-29 11:35:59 · 264 阅读 · 0 评论 -
K - Largest Box LightOJ - 1297
In the following figure you can see a rectangular card. The width of the card is W and length of the card is L and thickness is zero. Four (x*x) squares are cut from the four corners of the card sho原创 2017-08-23 08:40:26 · 307 阅读 · 0 评论 -
F - Mad Counting LightOJ - 1148
Mob was hijacked by the mayor of the Town "TruthTown". Mayor wants Mob to count the total population of the town. Now the naive approach to this problem will be counting people one by one. But as we a原创 2017-07-29 11:54:09 · 303 阅读 · 0 评论 -
E - Ekka Dokka LightOJ - 1116
Ekka and his friend Dokka decided to buy a cake. They both love cakes and that's why they want to share the cake after buying it. As the name suggested that Ekka is very fond of odd numbers and Dokka原创 2017-07-29 11:41:08 · 256 阅读 · 0 评论 -
C - A Childhood Game LightOJ - 1020
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.Both Al原创 2017-07-29 11:29:23 · 299 阅读 · 0 评论 -
A - Fibsieve`s Fantabulous Birthday LightOJ - 1008
Fibsieve had a fantabulous (yes, it's an actual word) birthday party this year. He had so many gifts that he was actually thinking of not having a party next year.Among these gifts there was an N x原创 2017-07-29 11:21:10 · 301 阅读 · 0 评论 -
N - Aladdin and the Optimal Invitation LightOJ - 1349
Finally Aladdin reached home, with the great magical lamp. He was happier than ever. As he was a nice boy, he wanted to share the happiness with all people in the town. So, he wanted to invite all peo原创 2017-08-03 22:36:15 · 379 阅读 · 0 评论 -
2018年全国多校算法寒假训练营练习比赛(第二场) H 了断局
链接:https://www.nowcoder.com/acm/contest/74/H来源:牛客网题目描述既然是了断局了,大家就随便玩玩数字呗。已知一个数列前10项分别是 {0, 1, 1, 2, 4, 7, 13, 24, 44, 81}小G不满足呀:我要更多的数!!!不给就不让你们玩了。小G会问你第n项是什么数字,请回答这个顽皮的孩子吧。输入描原创 2018-01-28 23:07:35 · 221 阅读 · 0 评论