hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Search found 3 matches
hacker.org Forum Index
Search found 3 matches
Author Message
Topic: Challenge 'I'm So Special'
wicherh

Replies: 8
Views: 11387
PostForum: Challenges   Posted: Sun Jan 25, 2009 10:16 pm   Subject: Challenge 'I'm So Special'
Any tip on the Challenge 'I'm So Special' ?

Pretty weird 1... must i just try all numbers until 100?
Topic: Valid java code
wicherh

Replies: 3
Views: 7937
PostForum: Wormageddon   Posted: Sat Dec 20, 2008 10:22 am   Subject: Valid java code
Yea got right code now with modulo.
If you are at a if statement there stays example
if (x = 1)
{
}

X =1 returns a value boolean true or false, 1 or 0.
int right = dir + 1 - ...
Topic: Valid java code
wicherh

Replies: 3
Views: 7937
PostForum: Wormageddon   Posted: Fri Dec 19, 2008 9:39 pm   Subject: 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); ...
Page 1 of 1
All times are GMT
Jump to: 


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.