Infinitity
CodeChefOpen on judge ↗
Alice likes to invent new games very often. One fine day she came up with a game called "Infinity". The game runs infinitely and is played by infinite players (strange huh?). The rules of the game are as follows: - Of the infinite players playing the game, only 2 are active at a time. One is "striker" and the other one "unstriker". - They have a dice having 8 faces with each face having a numbe
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.
Sign in to chat with the tutor and save your progress.
Sign in to start