NZEC error

hi guys can you please tell why this python code is giving NZEC error
import psyco
psyco.full()
def main():
l=[]
n=int(input())
for i in range (0,n):
temp=int(input())
l.append(temp)
l.sort()
for i in range (0,n):
print(l[i])
return 0
main()
link http://www.codechef.com/viewsolution/3748002
is psyco is creating the error thanks in advance

1 Like

If you will try search for psyco in forum, you will get some further help, Iā€™m sorry cannot help you more.

Try this thread for example.

if i omit psyco() i get tle can anyone please suggest some optimisation in the code ???