Game of Mourinho
CodeChefOpen on judge ↗
Problem Statement Jose Mourinho wants his players to play football differently . So he decides to make his players score goals in a pattern. He has N players in his team and he wants P goals to be scored with following conditions.First every player has to score atleast one goal and before a player scores his second goal atleast M different players should have scored in between those two goals. He
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