0% found this document useful (0 votes)
1K views

Codingame II

This document describes 5 coding puzzles of increasing difficulty: 1) Converting strings to ASCII art, 2) Converting strings to unary encoding, 3) Classifying file MIME types, 4) Finding the closest defibrillator to a given location, and 5) Finding the two horses most closely matched in strength for a race.

Uploaded by

Tú Ân
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

Codingame II

This document describes 5 coding puzzles of increasing difficulty: 1) Converting strings to ASCII art, 2) Converting strings to unary encoding, 3) Classifying file MIME types, 4) Finding the closest defibrillator to a given location, and 5) Finding the two horses most closely matched in strength for a race.

Uploaded by

Tú Ân
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 11

CODINGAME II

1) ASCII Art
Story
Do you feel you are an artist at heart? Unfortunately you are a programmer :
( Why not give a try at ...
__
___
___ ____ ____
/__\ / __) / __)(_ _)(_ _)
/(__)\ \__ \( (__ _)(_ _)(_
(__)(__)(___/ \___)(____)(____)

__
____ ____
/__\ ( _ \(_ _)
/(__)\ )
/ )(
(__)(__)(_)\_) (__)

In this puzzle, transform strings of characters into ASCII ART.

2) Chuck Norris
Story
Binary is good! But unary is much better!
Test your encoding skills in this easy puzzle where you will be asked to
transform a string into a unary string such as 0 00 000 0...

3) MIME Type
Story
So many files, so little time... Let's tidy things up!

4) Defibrillator
Story
Want to save lives? Good! So help us find the closest defibrillator from a
given position in the city of Montpellier, France.

5) Horse-racing Duals
Story
To make a race between two horses interesting, you will have to find the
horses with the closest strength.

Algorithm

You might also like