|
16 Mar 2003, 22:30
|
#1
|
Registered User
Join Date: Feb 2002
Posts: 5
|
99 bottles of beer challenge
http://www.noodleroni.com/beercontest.php
Basically, write a program to produce the entire lyrics to the song "99 bottle Of beer On The Wall" in the most compact, obsfucated, and original way.
__________________
Quote:
Originally posted by Puck (here)
Nope, I haven't done anything wrong yet. Unless they can prove it of course.
|
|
|
|
16 Mar 2003, 23:11
|
#2
|
Ball
Join Date: Oct 2001
Posts: 4,410
|
|
|
|
16 Mar 2003, 23:34
|
#3
|
∞+♪˛
Join Date: Nov 2000
Location: :uo!te]oŻ|
Posts: 428
|
Programming language: HQ9+
__________________
Structural Integrity for Creator - since he'll probably make PA turn 3D.
Wikipedia forum
Note to self - Don't write Chinese letters with bold and italics... 猫
<!--Last incarnation: Nov 2000-->
Last edited by Cyp; 16 Mar 2003 at 23:39.
|
|
|
16 Mar 2003, 23:36
|
#4
|
Bitch
Join Date: Jun 2002
Location: North Yorkshire
Posts: 3,848
|
Quote:
Originally posted by queball
No-one will beat this.
|
Modify the text to ascii codes. Lengthens the bottle and makes it less compact but much more obfuscated
__________________
ACHTUNG!!!
Das machine is nicht fur gefingerpoken und mittengrabben. Ist easy
schnappen der springenwerk, blowenfusen und corkenpoppen mit
spitzensparken. Ist nicht fur gewerken by das dummkopfen. Das
rubbernecken sightseeren keepen hands in das pockets. Relaxen und vatch
das blinkenlights!!!
|
|
|
16 Mar 2003, 23:40
|
#5
|
Registered User
Join Date: Feb 2002
Posts: 5
|
heh
Neither of those can be entered though, thanks to the third rule:
Quote:
Your submission must not have been available anywhere on any public channel prior to 1 May 2003.
|
I've got a truly mad entry in mind - you probably won't even have heard of the language I'm gonna use, and that's all i'm saying for now
__________________
Quote:
Originally posted by Puck (here)
Nope, I haven't done anything wrong yet. Unless they can prove it of course.
|
|
|
|
17 Mar 2003, 01:29
|
#6
|
Ball
Join Date: Oct 2001
Posts: 4,410
|
Quote:
Originally posted by Cyp
Programming language: HQ9+
|
Code:
$ wget -q http://www.cliff.biffle.org/esoterica/hq9plus.ml http://www.noodleroni.com/beerlyrics.txt
$ echo 9 > 9
$ ocaml hq9plus.ml 9 > 99bottle-cyp
$ diff -q 99bottle-cyp beerlyrics.txt
Files 99bottle-cyp and beerlyrics.txt differ
|
|
|
17 Mar 2003, 06:30
|
#7
|
Registered User
Join Date: Jan 2003
Location: Australia
Posts: 30
|
Use the language
J
its the worst there is. Im not going to do it though
__________________
If I knew what I was doing then it wouldn't be called research.
|
|
|
17 Mar 2003, 06:53
|
#8
|
Ball
Join Date: Oct 2001
Posts: 4,410
|
That 99 bottles of beer site has a J version, and a K version, though strangely not APL. (They only like ASCII-based languages?)
(I don't find J hard to read, oh well.)
|
|
|
17 Mar 2003, 15:10
|
#9
|
It was a Stupid Dream
Join Date: Jun 2002
Location: Winchester, UK
Posts: 2,077
|
Delphi
Code:
program b33r;
var
bottles:integer;
begin
for bottles:= 99 downto 1 do
writeln(bottles,' bottles of beer on the wall,',bottles,
' bottles of beer, you take one down, pass it around ',
bottles-1,' bottles of beer on the wall');
end.
|
|
|
17 Mar 2003, 21:25
|
#10
|
Pedantic hypocrite
Join Date: Jan 2001
Location: Back and to the left
Posts: 1,488
|
Quote:
Originally posted by Starbucks
Delphi
Code:
program b33r;
var
bottles:integer;
begin
for bottles:= 99 downto 1 do
writeln(bottles,' bottles of beer on the wall,',bottles,
' bottles of beer, you take one down, pass it around ',
bottles-1,' bottles of beer on the wall');
end.
|
Your program has a bug. It will print '1 bottles of beer on the wall'.
Jester
__________________
I always wanted to be a dancer, but I could never get the shit off my shoes
.......
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
|
All times are GMT +1. The time now is 00:44.
| |