Bill and Ted are taking a road trip. But the odometer in their car is broken, so they don't know how many miles they have driven. Fortunately, Bill ha ...
分类:
其他好文 时间:
2017-03-10 21:06:44
阅读次数:
158
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome becau ...
分类:
其他好文 时间:
2017-03-10 13:12:58
阅读次数:
270
Given positive integers B and N, find an integer A such that AN is as close as possible to B. (The result A is an approximation to the Nth root of B.) ...
分类:
其他好文 时间:
2017-03-10 12:48:57
阅读次数:
145
题目描述 Description 有一个称为“模拟工厂”的游戏是这样的:在时刻0,工厂的生产力等于1。在每个时刻,你可以提高生产力或者生产商品。如果选择提高生产力,在下一个时刻时工厂的生产力加1;如果选择生产商品,则下一个时刻你所拥有的商品数量增加p,其中p是本时刻工厂的生产力。 有n个订单,可以选 ...
分类:
其他好文 时间:
2017-03-09 22:35:53
阅读次数:
134
The daffodil number is one of the famous interesting numbers in the mathematical world. A daffodil number is a three-digit number whose value is equal ...
分类:
其他好文 时间:
2017-03-09 20:13:01
阅读次数:
163
A boolean matrix has the parity property when each row and each column has an even sum, i.e. contains an even number of bits which are set. Here's a 4 ...
分类:
其他好文 时间:
2017-03-09 19:47:49
阅读次数:
195
The Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, most of the ancient plays are tragedies. Therefore the dramatic advi ...
分类:
其他好文 时间:
2017-03-08 22:45:08
阅读次数:
212
式子显然随便搞搞就行,,而且可以先把这些矩形排序,然后如果有比当前矩形x和y都大的矩形,这个矩形是可以忽略的。 ...
分类:
其他好文 时间:
2017-03-08 22:42:22
阅读次数:
150
Your chemistry lab instructor is a very enthusiastic graduate student who clearly has forgotten what their undergraduate Chemistry 101 lab experience ...
分类:
其他好文 时间:
2017-03-08 22:31:57
阅读次数:
179
Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wall! ...
分类:
其他好文 时间:
2017-03-08 20:19:34
阅读次数:
170