周赛3
文章平均质量分 53
philophobia
这个作者很懒,什么都没留下…
展开
-
A - 3D Printed Statues(周赛3)
You have a single 3D printer, and would like to use it to produce nstatues. However, printing the statues one by one on the 3D printer takes a long time, so it may be more time-efficient to first use t原创 2017-08-12 23:31:50 · 274 阅读 · 0 评论 -
C - ABC
You will be given three integers A, B and C. The numbers will not be given in that exact order, but we do know that A is less than B and B less than C. In order to make for a more pleasant viewing, we原创 2017-08-12 23:40:28 · 654 阅读 · 0 评论 -
B - 2048
2048 is a single-player puzzle game created by Gabriele Cirulli1. It is played on a 4×4 grid that contains integers ≥2that are powers of 2. The player can use a keyboard arrow key (left/up/right/down)原创 2017-08-13 23:36:52 · 692 阅读 · 0 评论 -
D - Rent your airplane and make money SPOJ - RENT
"ABEAS Corp." is a very small company that owns a single airplane. The customers of ABEAS Corp are large airline companies which rent the airplane to accommodate occasional overcapacity.Customers send原创 2017-08-14 10:38:37 · 464 阅读 · 0 评论 -
G - Porcelain(预处理加背包)
During her tantrums the princess usually smashes some collectable porcelain. Every furious shriek is accompanied with one item smashed.The collection of porcelain is arranged neatly on n shelves. Withi原创 2017-08-15 09:24:54 · 269 阅读 · 0 评论 -
B - Matrix Power Series
Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak.InputThe input contains exactly one test case. The first line of input contains three positive integers n (n ≤ 30原创 2017-08-15 15:48:29 · 220 阅读 · 0 评论