flat assembler
Message board for the users of flat assembler.
Index
> Heap > Numerical oddities Goto page Previous 1, 2, 3 ... 18, 19, 20 ... 24, 25, 26 Next 
Author 

Madis731
You borrowed a thing X (so you actually had 1). The thief took it and left you with nothing. Now you have more Like you said, fun!


09 May 2012, 17:32 

typedef
revolution wrote:
How ? The laptop is not yours you borrowed it. If you want to have your own then you'd have to buy two. One you can truly call yours and one to return to the owner. 

10 May 2012, 00:49 

revolution
typedef wrote: The laptop is not yours you borrowed it. If you want to have your own then you'd have to buy two. One you can truly call yours and one to return to the owner. Back on topic, I think that borrowing of something is not part of the answer. This puzzle is more lateral than that. 

10 May 2012, 01:05 

typedef
Ya sorry I hadn't read your very previous post.
revolution wrote:
Here's my take: You have X. Thief steals Y. Now, you're left w/ Z where Z > X  Y since some were stolen. Here's the tricky part: revolution wrote: Now I have more of thing X than I had before the thief came along. 1. Assuming you replenished X by adding A you'll have started with Z + A = (XY) + A. You now simply have A + Z. That was a more straight literal answer. Now in math logic. 2. If you had X and the thief stole Y and you ended up with Z, where Z > X Y, then X must have been <=0 and Y must have been <0. Exclusively either one of them was <=0 or <0, because if all were <=0 or <0 then there would not be the word some. Even if they were all the same value which still contradicts the problem, you'd end up with 0 which is not of any quantity. 

10 May 2012, 01:46 

revolution
typedef wrote: 1. Assuming you replenished X by adding A you'll have started with Z + A = (XY) + A. You now simply have A + Z. 

10 May 2012, 02:03 

typedef
revolution wrote:
That is why I gave two solution cases. 

10 May 2012, 02:33 

revolution
Time for a hint then:
You don't need to know what thing X is. It could be anything. Paper, currency, computers, clothing, water, etc. 

13 May 2012, 02:54 

MHajduk
revolution wrote: This one is for fun also, don't take it too seriously:


13 May 2012, 10:01 

revolution
MHajduk wrote: I'm not taking your question too seriously, so I can answer this way: 

13 May 2012, 10:55 

MHajduk
I don't think that this particular thief stole anything from himself / herself. The clue is in the phrase "comes along" and how we can interpret it.


13 May 2012, 11:01 

revolution
MHajduk wrote: I don't think that this particular thief stole anything from himself / herself. The clue is in the phrase "comes along" and how we can interpret it. 

13 May 2012, 11:03 

MHajduk
Talking about numbers, I have thought about arithmetic modulo some number n.
You have a set of nonnegative integer numbers {0, 1, ..., n1} (rests of division modulo n). If you assume X=0, and "steal", i.e. subtract some k≠m*n (where k and m are integers) from X modulo n, you'll get a number (rest) that is not equal to 0, hence greater than 0. 

13 May 2012, 11:13 

revolution
MHajduk wrote: Talking about numbers, I have thought about arithmetic modulo some number n. BTW: You are on the wrong track here. Sorry. 

13 May 2012, 12:09 

MHajduk
revolution wrote:
X  1 = 0  1 ≡ n  1 (mod n) So you start with 0, "steal" one and get n  1 > X modulo n. 

13 May 2012, 12:15 

revolution
'n' is not a specific number. Seems rather arbitrary to me.


13 May 2012, 12:17 

MHajduk
revolution wrote: 'n' is not a specific number. Seems rather arbitrary to me. X = 0 X  1 = 0  1 ≡ 2  1 = 1 (mod 2) 1 > 0 

13 May 2012, 12:19 

revolution
Why is n=2? How do you derive that?


13 May 2012, 12:21 

MHajduk
Our symbol n may be any positive integer number. You wanted an example, so I gave you the relatively simple one.


13 May 2012, 12:23 

revolution
MHajduk wrote: Our symbol n may be any positive integer number. MHajduk wrote: You wanted an example, so I gave you the relatively simple one. 

13 May 2012, 12:25 

Goto page Previous 1, 2, 3 ... 18, 19, 20 ... 24, 25, 26 Next < Last Thread  Next Thread > 
Forum Rules:

Copyright © 19992020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.