Plz help me clear all test cases
the error was the array size you were giving.
you have to check the constraints.
increase the array size int a[1000000];
if this solves your doubt please mark it as resolved
the error was the array size you were giving.
you have to check the constraints.
increase the array size int a[1000000];
if this solves your doubt please mark it as resolved