Search found 14 matches
- Fri Dec 19, 2008 11:53 pm
- Forum: Wormageddon
- Topic: Valid java code
- Replies: 3
- Views: 22010
Re: Valid java code
This is a pretty stupid question but a equation example: (1 = 1) returns 1 or 0 right so why would this not work?: int right = dir + 1 - 4(dir = 4); int left = dir - 1 + 4(dir = 0); Not sure what that code is supposed to do, but it's definitely invalid as long as there is no operator in front of th...
- Fri Dec 19, 2008 11:20 pm
- Forum: Challenges Solved
- Topic: Exclusive Or
- Replies: 24
- Views: 4466
- Mon Dec 15, 2008 10:52 pm
- Forum: Challenges Solved
- Topic: Forced Entry
- Replies: 17
- Views: 1614
- Sun Dec 14, 2008 1:58 am
- Forum: Challenges Solved
- Topic: Fast Mod
- Replies: 7
- Views: 740
- Sun Dec 14, 2008 1:30 am
- Forum: Challenges Solved
- Topic: King Rat
- Replies: 19
- Views: 2020
BTW, lukas, you code has a bug: it terminates when it encounters a 0, so if that's part of the actual data, and the largest number comes afterwards, the result is wrong. But apparently that case does not occur in the tests that determine whether you pass. And after sitting over this for 3 hours, I c...
- Sat Dec 13, 2008 3:27 am
- Forum: Challenges Solved
- Topic: King Rat
- Replies: 19
- Views: 2020
- Fri Dec 12, 2008 10:29 pm
- Forum: The Hacker's Server
- Topic: MY FIRST PROGRAMING!!!!!
- Replies: 5
- Views: 8039
Re: MY FIRST PROGRAMING!!!!!
Also I was wondering if The Java SE Development Kit 6 (JDK 6), is the only compiler out there (if I'm correct and it is a compiler). Sun's JDK contains, among many other things, a compiler. It is by no means the only Java compiler, there's also a JDK from IBM as well as gcj from the GNU compiler su...
- Wed Dec 10, 2008 9:38 pm
- Forum: The Hacker's Server
- Topic: possible to hack winrar files??
- Replies: 2
- Views: 6109
Re: possible to hack winrar files??
Yes, WinRAR uses 128 AES, which is considered impossible to crack. I've seen references to a paper claiming to have found weaknesses in the way WinRAR implements AES, but probably not bad enough to make it crackable. OTOH, the average user has crap passwords, so a dictionary attack is always worth t...
- Mon Dec 08, 2008 9:48 pm
- Forum: Challenges Solved
- Topic: Bigger Fib
- Replies: 10
- Views: 883
- Sun Dec 07, 2008 5:46 pm
- Forum: Mortal Coil
- Topic: Basic strategy: how do you get into the top 10?
- Replies: 16
- Views: 60523
Basic strategy: how do you get into the top 10?
Hi! I'd like to ask whether any of the top scorers in this puzzle would be willing to give some hints as to how their solutions work. I started out with a straightforward brute force approach; this got me to about level 50, when it became clear it was too slow. Technical optimizations and a multi-th...
- Thu Dec 04, 2008 6:29 pm
- Forum: Challenges
- Topic: Big Fib
- Replies: 36
- Views: 50119
- Sun Nov 30, 2008 3:33 am
- Forum: Challenges Solved
- Topic: Russian Dolls
- Replies: 40
- Views: 3185
- Sun Nov 30, 2008 2:49 am
- Forum: Challenges
- Topic: AVE?? what does it mean??
- Replies: 13
- Views: 18236
- Tue Nov 11, 2008 11:29 pm
- Forum: Wormageddon
- Topic: Suggestion: randomized starting positions
- Replies: 5
- Views: 25750
Suggestion: randomized starting positions
I propose that the starting position of both bots should be random. Currently, multiple matches between bots with deterministic behaviour proceed identically (except for who gets the first move) and are thus a waste of CPU time. The intention of making results more meaningful by increasing the sampl...