|
easy:
1000 = 10^3
so 3 * 10 = 30 and door 1 stays unlocked so 31
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Try it for 10 doors and 10 people. Pattern recognition.
|
|
|
|
|
don't get too serious
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
11 is the perfect answer
(You only have to change the base)
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Nope... the perfect answer is 42
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
digimanus wrote: U31 You sunk my battleship!
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I contacted you by mariphone but you did not respond in a proper time. The TimeOutException was raised, which make you sunk.
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Just how big is your game board? O.o
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
Quote: if (doors[unlocker - 1] % unlocker == 0) Why you check the STATE of the lock against the 'unlocker'? You should check the POSITION of the door...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Changed that to:
for (Int16 unlocker = 1; unlocker <= 1000; unlocker++)
{
for (int door = 0; door < 1000; door++)
{
if ((door+1) % unlocker == 0)
doors[door] *= -1;
}
}
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
You can cut it down to for (int door = unlocker - 1; door < 1000; door++) ... and 'unlocker' never will touch the door before his own position...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
n^2
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Don't forget to take away the number you first thought of.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
31
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Very good, now tell me: Who owns the zebra?
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
The Japanese...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Johnny J. wrote: Who owns the zebra? Wha?
I thought I was the only one who'd ever seen that puzzle!
(A Readers' Digest puzzle special from the '70s, wasn't it?)
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Oh, no, it was quite popular in Denmark some 30 odd years ago...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
What's really weird is that I only thought about it Saturday, because I noticed a puzzle magazine in a rack at Rotterdam Centraal railway station that was filled with nothing but that kind of puzzle (with the grids already drawn).
I can't remember the other half of the question, though:
Who ..., and who owns the zebra?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I think it was "Who drinks water"???
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Very likely!
I had "who drinks tea" stuck in my head, but I knew it was wrong.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Could be the British version. I've seen different versions of it with localized content. I guess it was because not all types of drinks and cigarettes (afair) were availble in all countries...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
It is on Wikipedia[^]!
Spolier alert: The solution is also there!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Johnny J. wrote: It is on Wikipedia[^]! Good God!
Talk about a mine of useless information...
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|