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 1785. Lost in Localization

Please help
Posted by LuckyD 9 Oct 2015 21:17
Why "wrong answer"?
a=input()
if 0<a<5:
    print('few')
elif 4<a<10:
    print("sveral")
elif 9<a<20:
    print("pack")
elif 19<a<50:
    print("lots")
elif 49<a<100:
    print('horde')
elif 99<a<250:
    print('throng')
elif 249<a<500:
    print("swarm")
elif 499<a<1000:
    print("zounds")
elif 1000<a:
    print ('legion')
Re: Please help
Posted by maksim32 10 Oct 2015 01:34
And if a=1000 ?
Re: Please help
Posted by alexfmsu 15 Mar 2017 15:41
elif 999<a: