Boring Class 1
CodeChefOpen on judge ↗
Not all classes can be interesting. Some are too boring, and in case of offline classes, it's not always possible to run away too. On one such class, Vaibhav and Atul got too bored and so, they decided to play a game. Atul gave Vaibhav an integer array $A$ of length $N$, and two more integers $K$ and $L$. He asked Vaibhav to form $K$ new arrays of $L$ length from the array $A$, such that the sum
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