Xmas competitions

This is a discussion on Xmas competitions within the Contests Board forums, part of the Community Boards category; > does the amount of sections on the base of the tree equal the order? order + 1 Since order ...

1. > does the amount of sections on the base of the tree equal the order?
order + 1

Since order 0 is just
/\

2. 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.

3. Boost libraries not allowed?

4. 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.

5. Damn, those would have been really helpful in obfuscating...

6. Contest looks cool, I might enter if I can avoid procrastinating hehe.

7. > 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

8. 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
ROFL

9. Can we submit more than one solution to an entry?

10. > 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.

11. 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. WTF, did you come up with that?

that is great

edit:
I wouldn't even dare enter the contest after seeing this

13. Interesting, very interesting.

14. 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

15. >>Hell No!! Do I look like a robot?!
pfew, you scared me there for a moment. Don't you ever do that again

Page 2 of 6 First 123456 Last