You are viewing a single comment's thread. Return to all comments →
import sys can u telll me what is error in my code
t = int(raw_input())
test = 0
for a0 in xrange(t):
n = int(raw_input().strip()) for i in range(0,n): if (n-5*i)>=0 and (n-5*i)%3==0: print("5"*(n-5*i)+"3"*(i*5)) test = test + 1 if test==0: print("-1")
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and The Beast
You are viewing a single comment's thread. Return to all comments →
import sys can u telll me what is error in my code
t = int(raw_input())
test = 0
for a0 in xrange(t):