Comment

avatar username

there are t = 10^4 test cases at max, and for each test case you are initializing a vetor of size 400001, which makes overall time complexity to be O(t*400001) which wouldnt run in given time limit of 1 sec

The actual rating of this user is 1789.

Original comment.

Statistics