hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
'Bit Test' challenge... the strange coding.. please help me.
Goto page Previous  1, 2, 3, 4  Next
 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
'Bit Test' challenge... the strange coding.. please help me.
Author Message
Alkazhim



Joined: 29 Oct 2008
Posts: 1

Post Reply with quote
Sad to say, but as english is not my native language (especially not "talking math", I don't get it ..
Sad

*crying*
Al
Thu Oct 30, 2008 5:05 pm View user's profile Send private message
grospolina



Joined: 27 Oct 2008
Posts: 2

Post Reply with quote
You say it! But thanks to all others,... english isn't my nativ language to but i reed this thread about 10 times and now... i got the right words to write it down and i solved it Very Happy
Thu Oct 30, 2008 8:57 pm View user's profile Send private message
Lysander



Joined: 01 Nov 2008
Posts: 4

Post Reply with quote
Well, English is not my native language, but I think I am quite good. Perhaps I am mistaken, but it seems to me that the question is grammatically incorrect. Is it possible to say "The following function tests its input is what?"
Honestly, I don't understand what this is supposed to mean.
Mon Nov 03, 2008 11:54 pm View user's profile Send private message
sigi



Joined: 26 Oct 2008
Posts: 37

Post Reply with quote
tails wrote:
Hey, do not write the answer here!
It spoils the challenge. Everyone can see it.
You should delete it as soon as possible.

Edit: Thanks.

The actual answer to the question has been posted already. I only helped with the wording. If at all, this challenge has been given away already.

In my opinion, the wording should be changed. I agree that it can be very confusing for non-native speakers, and I don't think it's in the spirit of these challenges to test for English language abilities (there are already enough of them among the crypto challenges).

I recognize that it's very hard to test for an answer to this challenge, but "blank of blank" is just too weird. At least go for something along the lines of "? of ?" with an explanation to insert some word for the question marks.
Tue Nov 04, 2008 1:14 am View user's profile Send private message
samuelandjw



Joined: 01 Nov 2008
Posts: 8

Post Reply with quote
If you know the & operator, this is trivial. But as I'm not native English speaker, I still don't understand 'blank for blank'. ... so could anybody tell me what the answer is in private message? I'll appreciate it.
Tue Nov 04, 2008 4:44 am View user's profile Send private message
lukosch



Joined: 30 Oct 2008
Posts: 1

Post Reply with quote
Quote:
To avoid server pounding, after trying a challenge 10 times, you must wait 30 between tries. (Your last try was 10 sec(s) ago.)


30 what?

Can't get it, too. I know what this function does but i don't know how to explain it with 3 Words in that ? of ?-Format. Unfortunately english is not my native language. Really frustrating. The answer are really just 3 words?

Edit: OK, got it. Really just 3 words.
Fri Nov 07, 2008 8:45 pm View user's profile Send private message
wannabe



Joined: 19 Dec 2008
Posts: 12

Post Reply with quote
c doesnt have bool as standard datatyp, but c++ has.
someone tell me if im wrong ... ;]

i dont know how to write the anwser too, but i know what the code does.
Thu Dec 25, 2008 4:24 pm View user's profile Send private message
wannabe



Joined: 19 Dec 2008
Posts: 12

Post Reply with quote
Hi,

Code:

bool testIt(int x) {
   bool returnW;
   int y = x - 1;
   returnW = (x & y);
  return (returnW == 0);
}

is this the same?

I still have no idea, can someone help me and look at my thoughts?
(1)2
(10)2
(100)2
(1000)2
(10000)2
(100000)2
(1000000)2
(10000000)2
(100000000)2
(1000000000)2
...
or
0x1
0x2
0x4
0x8
0x10
0x20
0x40
0x80
...
or
1
2
4
8
16
32
64...
Wed Dec 31, 2008 2:17 am View user's profile Send private message
blundfried



Joined: 19 Mar 2009
Posts: 3

Post Reply with quote
Hi, I think I know what this code does - actually I'm not finding the right words for it.... can I send my idea to somebody - so that I get the right words?
thank you...
Thu Mar 26, 2009 9:06 am View user's profile Send private message
karma-fusebox



Joined: 06 Mar 2009
Posts: 23

Post Reply with quote
"blank of blank" says the answers "half of 42" or "primefactor of 3462234" would be valid.
(in fact, they are not. but maybe this was your problem.. write a pm if you are still in trouble)
Thu Mar 26, 2009 1:07 pm View user's profile Send private message
wannabe



Joined: 19 Dec 2008
Posts: 12

Post Reply with quote
Another tip to solve this one is to look at the code. Think about what it does. If you know what it does, you should know what means what in english. My main Problem was, that my english isn't 100%. Even though I knew all needed word's, i didn't get it for a day or two.
Sun Mar 29, 2009 4:32 pm View user's profile Send private message
psycore



Joined: 18 Feb 2009
Posts: 8

Post Reply with quote
karma-fusebox wrote:
"blank of blank" says the answers "half of 42" or "primefactor of 3462234" would be valid.
(in fact, they are not. but maybe this was your problem.. write a pm if you are still in trouble)


yay, thanks dude. That one helped a lot.
Wed Jun 17, 2009 4:10 pm View user's profile Send private message
bottomy



Joined: 13 Jun 2009
Posts: 4

Post Reply with quote
hmm im a little confused about what to write for the answer. i think i understand what its doing, like say x = 100
then (100 & (100 - 1))
(100 & 99)
1100100 & 1100011
= 1100000 = 96

but its testing to see if it will equal 0, so are we meant to find what x should be to equal 0 (which i've done). then if so i don't really get how im supposed to write it like i know the examples karma-fusebox gave, but i guess im not understanding exactly whats happening. so any clues where to look from here to find what its to do with or something?
Tue Aug 11, 2009 8:09 am View user's profile Send private message
DJSigmund



Joined: 19 Mar 2009
Posts: 6
Location: Munich

Post Reply with quote
Hey Guys,

can anbody help me, as I cant get the right wording...
I know what the code does and when it is true, so all missing is the answer...

I tried *** of (a number) and think that (a number) is correct, but im not sure what to write for ***...

I am an german native speaker and tried to translate the german word for it into english, but it was wrong...

Id appreciate help via PM!

Thanks!

_________________
If you were MEANT to understand it, we wouldn't have called it code
Tue Apr 27, 2010 12:51 pm View user's profile Send private message Visit poster's website ICQ Number
CodeX



Joined: 17 Oct 2008
Posts: 350

Post Reply with quote
The powers that be wrote:
Write your answer out in words please (format: 'blank of blank')
I can see why this would be a problem for non-native English speakers, maybe a thesaurus would help you find synonyms of the word you have
Tue Apr 27, 2010 1:51 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Challenges All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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