덴마크어 계산 방법을 사용하여 올바른 순서로 0-100의 모든 숫자를 인쇄하십시오
그들이 계산하는 방법
- 영어와 마찬가지로 0-20, 30, 40 및 100에 대한 전용 단어가 있습니다.
- 대신 말하는
twenty-one
하고twenty-two
, 그들이 말하는one and twenty
및two and twenty
50부터 시작하여 n의 * 20으로 10의 배수를 말합니다.
50 = half third times twenty = half way to the 3rd multiple of 20 60 = three times twenty 70 = half fourth times twenty 80 = four times twenty 90 = half fifth times twenty
예를 들어 55는입니다
five and half third times twenty
.
예상 출력
zero
one
two
three
four
five
six
seven
eight
nine
ten
eleven
twelve
thirteen
fourteen
fifteen
sixteen
seventeen
eighteen
nineteen
twenty
one and twenty
two and twenty
three and twenty
four and twenty
five and twenty
six and twenty
seven and twenty
eight and twenty
nine and twenty
thirty
one and thirty
two and thirty
three and thirty
four and thirty
five and thirty
six and thirty
seven and thirty
eight and thirty
nine and thirty
forty
one and forty
two and forty
three and forty
four and forty
five and forty
six and forty
seven and forty
eight and forty
nine and forty
half third times twenty
one and half third times twenty
two and half third times twenty
three and half third times twenty
four and half third times twenty
five and half third times twenty
six and half third times twenty
seven and half third times twenty
eight and half third times twenty
nine and half third times twenty
three times twenty
one and three times twenty
two and three times twenty
three and three times twenty
four and three times twenty
five and three times twenty
six and three times twenty
seven and three times twenty
eight and three times twenty
nine and three times twenty
half fourth times twenty
one and half fourth times twenty
two and half fourth times twenty
three and half fourth times twenty
four and half fourth times twenty
five and half fourth times twenty
six and half fourth times twenty
seven and half fourth times twenty
eight and half fourth times twenty
nine and half fourth times twenty
four times twenty
one and four times twenty
two and four times twenty
three and four times twenty
four and four times twenty
five and four times twenty
six and four times twenty
seven and four times twenty
eight and four times twenty
nine and four times twenty
half fifth times twenty
one and half fifth times twenty
two and half fifth times twenty
three and half fifth times twenty
four and half fifth times twenty
five and half fifth times twenty
six and half fifth times twenty
seven and half fifth times twenty
eight and half fifth times twenty
nine and half fifth times twenty
one hundred
규칙
- 구분 기호를 사용하여 숫자를 구분할 수 있습니다
- 원래 사양의 오타로 인해
forth
대신 사용할 수 있습니다fourth
. - 함수를 작성하거나 표준 출력에 쓸 수 있습니다
- 표준 허점 적용
- 이것은 codegolf입니다. 바이트 단위의 가장 짧은 코드가 승리합니다!