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 1727. Znaika's Magic Numbers

plz help wa#3 python3.6
Posted by Bazeev Damir`~ 15 Jun 2018 01:04
n=int(input())
print(math.ceil(n/(9*5)))
i=0
while(n>9):
    print(9,end='')
    n-=9
    i+=1
    if i%5==0:
        print(end=' ')
print(n)
Re: plz help wa#3 python3.6
Posted by wiwi 27 Nov 2020 21:55
the elements must be different. You repeat them