Hi
Everytime i try codechef i have the same problem again and again.
I tried inputting using input but then i get WA error
i changed it to sys.stdin.readline() again WA error
my answer is not wrong
i tried using the test cases and even made a few cases myself but still i get wrong answer error.
please help me.
say i am accepting input:
2
2
1 4
3
1 4 6
i use this:
test_cases = int(input())
for i in range(test_cases):
number_of_people = int(input())
distances = input()
distance_list = distances.split()
please help!