codingame网站
文章平均质量分 83
在codingame网站上做的题目整理思路和代码
kkssgg
这个作者很懒,什么都没留下…
展开
-
【Codingame】Shadows of the Knight - Episode 1(medium)
You will look for the hostages on a given building by jumping from one window to another using your grapnel gun. Your goal is to jump to the window where the hostages are located in order to disarm the bombs. Unfortunately, you have a limited number of jum原创 2023-10-08 22:00:10 · 137 阅读 · 1 评论 -
【Codingame】ASCII Art(Easy)
ASCII art allows you to represent forms by using characters. To be precise, in our case, these forms are words. For example, the word "MANHATTAN" could be displayed as follows in ASCII art:原创 2023-10-08 21:53:01 · 66 阅读 · 1 评论 -
【Codingame】Temperatures(Easy)
Write a program that prints the temperature closest to 0 among input data.If two numbers are equally close to zero, positive integer has to be considered closest to zero(for instance, if the temperatures are -5 and 5, then display 5).原创 2023-10-08 21:43:27 · 51 阅读 · 1 评论 -
【Codingame】Power of Thor - Episode 1(Easy)
Thor moves on a map which is40wide by18high. Note that the coordinates (X and Y) start at the top left! This means the most top left cell has the coordinates "X=0,Y=0" and the most bottom right one has the coordinates "X=39,Y=17".原创 2023-10-08 21:36:52 · 99 阅读 · 1 评论 -
【Codingame】The Descent(Easy)
At the start of each game turn, you are given the height of the 8 mountains from left to right.By the end of the game turn, you must fire on the highest mountain by outputting its index (from 0 to 7).原创 2023-10-08 21:27:08 · 64 阅读 · 1 评论