유아용 아들이 저녁을 먹도록 설득하려고 노력했지만 실패했습니다. 이 노래의 중간 쯤에 나는 공식적인 구조가 코드 골프에 잘 어울린다는 것을 깨달았다!
이 작업은 입력을받지 않고 다음 텍스트를 생성하는 프로그램 또는 함수를 작성하는 것입니다.
There's a hole in the bottom of the sea
There's a hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a log in the hole in the bottom of the sea
There's a log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a bump on the log in the hole in the bottom of the sea
There's a bump on the log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a frog on the bump on the log in the hole in the bottom of the sea
There's a frog on the bump on the log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a fly on the hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a fly on the hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a flea on the fly on the hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a flea on the fly on the hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
There's a smile on the flea on the fly on the hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a smile on the flea on the fly on the hair on the wart on the frog on the bump on the log in the hole in the bottom of the sea
There's a hole, there's a hole
There's a hole in the bottom of the sea
도전 규칙 :
- 텍스트는 함수 출력으로 인쇄되거나 반환 될 수 있습니다
- 각 구절은 하나의 빈 줄로 구분됩니다
- 후행 공백은 레이아웃을 변경하지 않는 한 괜찮습니다 (따라서 단어 사이에 공백이나 여분의 공백이 없음)
- 후행 줄 바꿈도 괜찮습니다.
- 선행 줄 바꿈이 없습니다.
- 모든 언어를 환영하며 이것은 code-golf 이므로 각 언어에 대한 가장 짧은 바이트 단위 답변이 이깁니다!
gzip -5
186 바이트로 압축 (와 bzip2
와 xz
더 할 것 같다).