Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Sandbox

Comments on Bird is the word

Post

Bird is the word

+1
−0

Make a program that prints the lyrics of the first verse of Surfin' Bird by the Trashmen:

A-well-a everybody's heard about the bird
B-b-b-bird, b-bird's the word
A-well, a bird, bird, bird, bird is the word
A-well, a bird, bird, bird, well-a bird is the word
A-well, a bird, bird, bird, b-bird's the word
A-well, a bird, bird, bird, well-a bird is the word
A-well, a bird, bird, b-bird is the word
A-well, a bird, bird, bird, b-bird's the word
A-well, a bird, bird, bird, well-a bird is the word
A-well, a bird, bird, b-bird's the word
A-well-a don't you know about the bird?
Well, everybody knows that the bird is the word
A-well-a-bird, bird, b-bird's the word, a-well-a
A-well-a everybody's heard about the bird
Bird, bird, bird, b-bird's the word
A-well, a bird, bird, bird, b-bird's the word
A-well, a bird, bird, bird, b-bird's the word
A-well, a bird, bird, b-bird's the word
A-well, a bird, bird, bird, b-bird's the word
A-well, a bird, bird, bird, b-bird's the word
A-well, a bird, bird, bird, b-bird's the word
A-well, a bird, bird, bird, b-bird's the word
A-well-a don't you know about the bird?
Well, everybody's talking about the bird!
A-well-a bird, bird, b-bird's the word
A-well-a bird, surfing bird, brr, brr, ah, ah

Line breaks need to be printed as per the above, though any amount of white-space at the end of each line is fine.

This is code-golf, the shortest source per language wins.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Copyright issues (3 comments)
Copyright issues
celtschk‭ wrote about 3 years ago

I believe that text is still copyrighted. I'm not sure it is a good idea to use it for a challenge, especially given that the music industry in particular is very active in copyright issues.

Lundin‭ wrote about 3 years ago

celtschk‭ That might be true. I just wanted something fairly repetitive, so that it would make sense to "optimize" certain parts of the string printing. Regardless, since Codidact is a non-profit organization and earns no money from the site, I'm not sure how copyright matters long as you state the source.

celtschk‭ wrote about 3 years ago

Copyright is independent of making money. There are some fair use exceptions, but those are for commenting on the text. I don't think this use is covered (but then, I am not a lawyer).

And even if it is covered by fair use, the copyright holder (or, more likely, some organisation representing the copyright holder) might issue a takedown request anyway. If the site complies, then all entries based on the challenge would be gone. If the site doesn't comply, they might sue and give the site a lot of hassle (and a lot of cost). Even if the site goes through (and doesn't run out of money in the process) and finally wins, it will still come at a great cost.

Also note that the takedown request can still come years later.

Yes, the legal situation sucks. But it is what it is, and therefore it is better to not take any risks. Better find some repetitive text that's out of copyright.