flat assembler
Message board for the users of flat assembler.

Index > Heap > Numerical oddities

Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 24, 25, 26  Next
Author
Thread Post new topic Reply to topic
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
Time for a hint then.
Post 02 Jun 2012, 14:46
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
Another try was 0 is 1.
Post 02 Jun 2012, 17:51
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8867
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
revolution wrote:
This one is for fun also, don't take it too seriously:
  1. I have a particular amount of thing X.
  2. A thief comes along and steals some of the amount.
  3. Now I have more of thing X than I had before the thief came along.
  4. How many of thing X did I start with and how many of thing X do I have now?


i think X is computer log file.

1. so u got X size bytes of log.txt
2. the thief come, steals whatever size of that log.txt
3. u will have more because the stealing process are updated into log.txt
4. the X now is greater than the X before

Laughing
Post 02 Jun 2012, 21:44
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
sleepsleep: Thing X can be anything. If your solution only works for a single thing then it is not the answer.
Post 02 Jun 2012, 22:12
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
Is the thief someone like Robin Hood? You are rich, he steels from you, you become poor and he gives you the goods back and compensates?
Post 03 Jun 2012, 08:39
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
malpolud wrote:
Is the thief someone like Robin Hood?
Hehe. Nope. The thief never gives anything back. I would have mentioned that if it was so.
Post 03 Jun 2012, 08:45
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
Well I read a book with some MENSA-like puzzles. Solutions there were very odd but rarely analytical if you know what I mean.
Post 03 Jun 2012, 08:56
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
What about my second try: you had 0 and now you have 1?
Post 03 Jun 2012, 08:59
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
malpolud wrote:
What about my second try: you had 0 and now you have 1?
How does that work?
Post 03 Jun 2012, 09:02
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
I don't know Smile According to my intuition it's the only possible solution.

Oh, and here is another one, does it concern things like antimatter?
Post 03 Jun 2012, 10:22
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
One more. X - amount of thing X. t - time. Z - amount stolen by the thief.

X = Y(t) X is a certain function of time

t1 - moment when thief came, t2 - moment when we measure the amount of thing X.

Y(t2) = Y(t1) - Z
Y(t2) > Y(t1)

Are these equation true?
Post 03 Jun 2012, 10:40
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
malpolud wrote:
I don't know Smile According to my intuition it's the only possible solution.
You will have to properly explain your thinking on that one. I can't read your mind about what you think the thief steals and whatnot.
malpolud wrote:
Oh, and here is another one, does it concern things like antimatter?
Sure. Of course. Matter, anti-matter, neutrinos, electrons. Yeah, whatever you want to make it is fine.
malpolud wrote:
One more. X - amount of thing X. t - time. Z - amount stolen by the thief.

X = Y(t), Y(t) is an ascending function.

t1 - moment when thief came, t2 - moment when we measure the amount of thing X.

Y(t2) = Y(t1) - Z
Y(t2) > Y(t1)

Are these equation true?
I don't even understand what you are asking. Confused

Things happen in the order as given in the original post.
Post 03 Jun 2012, 10:45
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
I made a little mess. Corrected:
X - amount of thing X. t - time. Z - amount stolen by the thief.

X = Y(t) X is a certain function of time

t1 - before theft,
t2 - after theft.

t2 > t1, therefore y(t2)>y(t1) (because of definition of the ascending function). We assume that the thief stole Z parts of the whole sum which also meets: Z < Y(t2) - Y(t1), other words:

Y(t2) - Z > Y(t1)

The reason why I was thinking about this kind of solution was a suspicion we could assume that the quantity we have is increasing alike a (for example) Heaviside step function does. In that case the puzzle could be at least partially solved Wink
Post 03 Jun 2012, 13:01
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
malpolud: Would you equations still work ix X was, say, a chair? I've never seen the number of chairs follow the function num(x) = y(t). I've always found that the number of chairs tends to stay constant as time passes (until someone comes along and deliberately changes something).
Post 03 Jun 2012, 13:44
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
revolution are you going to reveal the solution?
Post 28 Jun 2012, 23:38
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
Not yet. I think that it might be interesting to let people think about this some more.
Post 29 Jun 2012, 04:59
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
Rubik's cube is made out of little cubes. The you go and steal one tiny cube, then you are left with 25 cubes. Before that you had 1 beautiful cube, now you have a mess Razz

Another try. You have a rectangular cake (|___|). The thief is an a$$ and steals the middle part from you (|_| |_|). You had 1 cake, now you have 2.

Maybe its got something to do with match puzzle's. Remove x matches to form y squares or move z matches to match the equation etc.
Post 29 Jun 2012, 08:20
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
revolution could you PM me the solution? Promise I won't tell anybody. Smile

Madis731 if it works only for particular things, it does not work Wink
Post 29 Jun 2012, 08:30
View user's profile Send private message Visit poster's website Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2141
Location: Estonia
Madis731
malpolud wrote:

Madis731 if it works only for particular things, it does not work Wink

What Shocked can't you saw the chair in three parts and take away one? Smile I guess I have to ponder more.

_________________
My updated idol Very Happy http://www.agner.org/optimize/
Post 29 Jun 2012, 08:51
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
You do, but it does not work for example for water. When you have 3 liters of water and pour it into three one liter packages you still have three liters of water. Taking away one liter leaves you two liters.

I hope I understand the rules of this puzzle the right way.
Post 29 Jun 2012, 09:00
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 24, 25, 26  Next

< Last Thread | Next Thread >
Forum Rules:
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
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.