← All problemsSign in

Task Distribustion

In a school there are N student .On the occation of annual function for each Si where 1N student givent Ti tasks and difference between tasks of two consecutive students are same and (i+1)the student must get more task than ith student. School have M number of task. Your task is find out whether task distribution is possible or impossible. Input - The first line contains two integers N 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.

voice by Sarvam AI

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

Sign in to start