A problem with understanding subtasks

if suppose in a question we have subtasks
Subtask 1 20 points
Subtask 2 80 points

subtask 1 is easy and 2 is hard

so if i complete only subtask 2 does that mean whole program is wrong ? or just the small portion which is for subtask 1 ?

It means test cases defined in only subtask 1 are failing under the given constraints for it .
But all the test cases in subtask 2 are passing with an Ac verdict . Just look after the constraints ,hope it might help :slightly_smiling_face: