ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1209. 1, 10, 100, 1000...

it shows runtime error....can't find the problem....plz help me judges..
Posted by Shariar Kabir (Himel) 9 May 2015 00:37
n=int(input())
s=''
a=''
for i in range(100):
    s=s+str(10**i)
for j in range(n):
    x=int(input())
    a=a+s[x-1]+' '
print(a)


Edited by author 09.05.2015 00:38

Edited by author 09.05.2015 00:39

Edited by author 09.05.2015 00:39
Re: it shows runtime error....can't find the problem....plz help me judges..
Posted by H.M. Tanjil 16 May 2015 20:07
same problem...............try........try........try
Re: it shows runtime error....can't find the problem....plz help me judges..
Posted by Noob 17 May 2015 18:19
x can be up to 2^31 - 1