no additional constraints

How does the subtask no additional constraint affect my problem??
What i have to do to make the proper code??

1 Like

It affects a lot. It means original input limits are in place. And if your solution is pretty straight forward and kind of brute force, it will probably won’t work.

With “no constraints” your focus should be on reducing the complexity so that even if the input limit is high, your algorithm is efficient enough to complete its task well in time.