import math
test=int(input())
while test!=0:
n=int(input())
arr=list(map(int,input().split()))
maxi=-math.inf
count=0
for i in range(n):
if arr[i]>maxi:
maxi=arr[i]
count=count+1
print(count)
test=test-1
All test Cases Don't pass
you know the importance of indentation so
Please Send the link of your code
how to send Link of Code ?
paste you code at
click on file->save->link will be generated
send the link of code generated
it will look like https://ide.codingblocks.com/s/258793
I am not able to copy but code is working fine on gfg complier
so how can i check your code
if you have submitted on gfg then you can also copy form there