Search found 5 matches

by stabat
Thu Nov 04, 2010 12:55 pm
Forum: Challenges
Topic: Dungeon Master
Replies: 66
Views: 101812

random directions is ok and works, even if you can program it easily. I think the more crucial is to follow the stairs just if you have leveled up enough, so you need a condition there. Also... choosing the best weapon, and picking just better weapons than yours will make your life easier :) Hope I ...
by stabat
Thu Oct 21, 2010 4:52 pm
Forum: Mortal Coil
Topic: Starting Automation
Replies: 6
Views: 29997

I had the same problem when I looked at this puzzle, but solved the problem really quickly. The trick that for some reason , the spaces in the website, have replaced by tabs. So to make it work, you should replace the string " <param name..." with "\t\t\t<param name..." but this ...
by stabat
Wed Oct 20, 2010 12:36 pm
Forum: Modulo Puzzle
Topic: Brute Force Solution
Replies: 21
Views: 72139

I found this puzzle very interesting, but my solver is just not fast enough to beat big boards with lot of pieces. I don't think the target of the puzzle is to run a brute force algorithm for more than 5-10 mins, so I am trying to optimize my solver, rather let it run for hours, that I guess would p...
by stabat
Sun Oct 03, 2010 3:04 am
Forum: Challenges
Topic: Didactic Feedback Cipher Long 3
Replies: 24
Views: 29182

That depends entirely on the compiler used. In my environment sizeof(long) is 4 bytes. You should use a long long if you want a guaranteed size of at least 8. even if I reply one year later, I have to say that it depends on the computer architecture the compiler runs on, and not from the compiler i...
by stabat
Tue Sep 28, 2010 10:49 pm
Forum: Challenges
Topic: Challenge: Number Theory
Replies: 22
Views: 32615

is the answer a number? a word?
this nice number drives me crazy :p