You are viewing a single comment's thread. Return to all comments →
I didn't expect but following program works. -_-b
#!/bin/python3 import sys if __name__ == "__main__": t = int(input().strip()) for a0 in range(t): a, b, x = input().strip().split(' ') a, b, x = [int(a), int(b), int(x)] # Write Your Code Here if b//(b-x+1) >= 2: print('-1') else: print(' '.join(map(str, range(b-x+1,b+1))))
Seems like cookies are disabled on this browser, please enable them to open this website
Mutual Indivisibility
You are viewing a single comment's thread. Return to all comments →
I didn't expect but following program works. -_-b