← All problemsSign in

Chef and New Game

CodeChefRating 3708Open on judge ↗

Chef has found a new game and now he wants you to help him to get as much points as possible. Rules of the game: There are different types of game pieces - geometric shapes composed of some amount of square blocks. In the picture below you can see all the types of figures and enumeration. The playing field is 10 cells width and 10 cells height. On each step of the game you are given exactly t

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start