# Xmas competitions

Show 80 post(s) from this thread on one page
Page 2 of 6 First 123456 Last
• 12-01-2003
Salem
> does the amount of sections on the base of the tree equal the order?
order + 1

Since order 0 is just
/\
• 12-02-2003
Prelude
I must say, #1 is a fun little problem. Not too involved, but a few tricky areas. Thanks, it helped to kill a little bit of time. :) I look forward to seeing the entries for these competitions, it should be interesting.
• 12-02-2003
CornedBee
Boost libraries not allowed?
• 12-02-2003
glUser3f
CornedBee:
yep, only standard C/C++, and STL is allowed for C++, check out the bottom of Salem's post.

Prelude:
I got it working right yesterday :) moving to problem #2.
• 12-02-2003
CornedBee
Damn, those would have been really helpful in obfuscating...
• 12-02-2003
SourceCode
Contest looks cool, I might enter if I can avoid procrastinating hehe:).
• 12-02-2003
Salem
> I might enter if I can avoid procrastinating
Well if you want to enter something for the most procrastinated program, I look forward to your submission sometime in 2010 :D
• 12-02-2003
SourceCode
Quote:

Originally posted by Salem
> I might enter if I can avoid procrastinating
Well if you want to enter something for the most procrastinated program, I look forward to your submission sometime in 2010 :D

ROFL:D
• 12-02-2003
curlious
Can we submit more than one solution to an entry?
• 12-02-2003
Salem
> Can we submit more than one solution to an entry?
Mmm, a couple of entries would be OK so long as they're sufficiently distinct, say an iterative C solution and an STL-based C++ solution.

Spamming minor variations may get you disqualified.
• 12-03-2003
Codeplug
No one should have this solution for #2 (less'n they a cheater)
Code:

#include <stdio.h>
int mmain
(int t,int
_,
char*a
){return!
0<t?
t<3?
mmain(-79,-13,a+mmain(-87,1-_,mmain(-86, 0, a+1 )+a)):
1,
t<_?
mmain( t+1, _, a )
:3,
mmain ( -94, -27+t, a )
&&t == 2 ?_
<13 ?
mmain ( 2, _+1, "%s %d %d\n" )
:9:16:
t<0?
t<-72?
mmain( _, t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}##(!!/")
:
t<-50?
_==*a ?
putchar(31[a]):
mmain(-65,_,a+1)
:
mmain((*a == '/') + t, _, a + 1 )
:
0<t?
mmain ( 2, 2 , "%s")
:*a=='/'||
mmain(0,
mmain(-61,*a, "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry")
,a+1);}
int
main(
){
mmain(
1,1,"phillipps"
)
;return 0;}

gg
• 12-03-2003
maes
WTF, did you come up with that?

that is great :)

edit:
I wouldn't even dare enter the contest after seeing this :p
• 12-03-2003
Thantos
Interesting, very interesting.
• 12-03-2003
Codeplug
Quote:

Originally posted by maes
WTF, did you come up with that?
Hell No!! Do I look like a robot?! :)

I did make it standards compliant however.

I got it from the same place where Salem probably got the idea for it.
It's not a submission into the contest, just an example.

gg
• 12-04-2003
maes
>>Hell No!! Do I look like a robot?!
pfew, you scared me there for a moment. Don't you ever do that again :p :p
Show 80 post(s) from this thread on one page
Page 2 of 6 First 123456 Last