time limit exceeded is shown …what is the error
My code
a=int(input())
for i in range(a):
n=int(input())
for c in range(1,n):
for d in range (1,n):
f=c*d
if (f==n):
print(c,d)
Problem Link: UWCOI21A Problem - CodeChef