困难模拟
十七_007
大多数人想要改造这个世界,但却罕有人想改造自己。
展开
-
奇数魔性矩阵
奇数的魔性矩阵其实挺好玩的,就是我们小时候经常玩的给你一个方格,不管你是横向加还是纵向加或是斜对角线相加起来它们的和是不变的,和是相同的。是不是会很好玩呢!现在我们就编程出这个好玩的游戏。给这个方形矩阵添加数字是按这样的原则的。首先现在第一行中间位置放1,然后下一个数字是当前数字的右上方位置,如果右上方超过了方形的边界,这是我们就把这个矩阵看成是上下相连左右相连,继续放在他的右上方。如有右上方有数...原创 2019-03-03 13:34:32 · 524 阅读 · 0 评论 -
Watering System
Arkady wants to water his only flower. Unfortunately, he has a very poor watering system that was designed for nflowers and so it looks like a pipe with nholes. Arkady can only use the water that f...原创 2019-03-12 16:33:55 · 305 阅读 · 0 评论 -
Emotes
There are nemotes in very popular digital collectible card game (the game is pretty famous so we won't say its name). The i-th emote increases the opponent's happiness by aiunits (we all know that ...原创 2019-03-12 16:41:40 · 798 阅读 · 0 评论 -
【中石油】【HDU】Simple Addition expression
杭电上也有这道题:传送门(HDU 2451) 题目描述 A luxury yacht with 100 passengers on board is sailing on the sea in the twilight. The yacht is ablaze with lights and there comes out laughers and singing from the hal...原创 2019-08-07 13:27:24 · 199 阅读 · 0 评论 -
MUSICAL CHAIRS【中石油组队训练】
题目描述 Musical chairs is a game frequently played at children’s parties. Players are seated in a circle facing outwards. When the music starts, the players have to stand up and move clockwise round ...原创 2019-08-10 10:03:26 · 253 阅读 · 0 评论