math problem i cant figure out
- Deitus
- Joined: Tue Feb 17, 2015 5:26 pm
- Byond Username: Deitus
math problem i cant figure out
ok here's the question
a guy owns a shop. he has $100 stolen from him. the thief then comes back to the shop and buys $70 worth of goods from the shop owner, paying with the $100 he stole. the shop owner gives the man $30 in change.
how much money did the shopkeeper lose overall?
please help
a guy owns a shop. he has $100 stolen from him. the thief then comes back to the shop and buys $70 worth of goods from the shop owner, paying with the $100 he stole. the shop owner gives the man $30 in change.
how much money did the shopkeeper lose overall?
please help
- pubby
- Github User
- Joined: Sun Jul 24, 2016 3:45 pm
- Byond Username: Pubby
- Github Username: pubby
Re: math problem i cant figure out
$100
the purchase is a red herring
the purchase is a red herring
- Saegrimr
- Joined: Thu Jul 24, 2014 4:39 pm
- Byond Username: Saegrimr
Re: math problem i cant figure out
The purchase and the change are irrelevant with the information given. Dude lost $100.
tedward1337 wrote:Sae is like the racist grandad who everyone laughs at for being racist, but deep down we all know he's right.
- Anonmare
- Joined: Sun Mar 15, 2015 8:59 pm
- Byond Username: Anonmare
Re: math problem i cant figure out
$100 loss
Even returning the $100, the shopkeeper effectively lost $70 in goods and another $30 in fiat due to giving the thief change.
Even returning the $100, the shopkeeper effectively lost $70 in goods and another $30 in fiat due to giving the thief change.
- pubby
- Github User
- Joined: Sun Jul 24, 2016 3:45 pm
- Byond Username: Pubby
- Github Username: pubby
Re: math problem i cant figure out
You are a servant in a palace. The palace is in the shape of a circle, and you do not know how many rooms there are in the palace.
Some of the rooms have the lights on, some have the lights off. Your job is to turn all the lights off. I remind you again that the palace is ring shaped, and you do not know how many rooms there are in the palace.
How would you turn off all the lights, and in the end inform your superior (via your cell phone) that you have completed your job?
Some of the rooms have the lights on, some have the lights off. Your job is to turn all the lights off. I remind you again that the palace is ring shaped, and you do not know how many rooms there are in the palace.
How would you turn off all the lights, and in the end inform your superior (via your cell phone) that you have completed your job?
- Anonmare
- Joined: Sun Mar 15, 2015 8:59 pm
- Byond Username: Anonmare
Re: math problem i cant figure out
Assuming it's not possible to mark rooms in any way other than using the lights, I'd do it like this.pubby wrote:You are a servant in a palace. The palace is in the shape of a circle, and you do not know how many rooms there are in the palace.
Some of the rooms have the lights on, some have the lights off. Your job is to turn all the lights off. I remind you again that the palace is ring shaped, and you do not know how many rooms there are in the palace.
How would you turn off all the lights, and in the end inform your superior (via your cell phone) that you have completed your job?
First go round the palace in a clockwise fashion, entering each room and adding it to your count. In the first room you go to, turn the lights on, if they are already - leave them on. After doing that, continue on checking each room. If the room's light is off, add it to the count and continue on. If it's on, turn it off , add it to the count and keep going. Keep doing this until you feel satisfied and start going back, counterclockwise and counting down each room you passed. Once you reach the first room you started in, according to your count, and its lights are off, then you can be sure that you made a complete circle and checked every room.
if its lights are still on, leave them on and head on back to the room you started the countdown from and keep going until you feel satisfied again.
- PKPenguin321
- Site Admin
- Joined: Tue Jul 01, 2014 7:02 pm
- Byond Username: PKPenguin321
- Github Username: PKPenguin321
- Location: U S A, U S A, U S A
Re: math problem i cant figure out
Is this even properly solvable assuming no loopholes and that the number of rooms is potentially infinite? Any number of patterns of any amount of complexity will eventually naturally occur within an infinite systempubby wrote:You are a servant in a palace. The palace is in the shape of a circle, and you do not know how many rooms there are in the palace.
Some of the rooms have the lights on, some have the lights off. Your job is to turn all the lights off. I remind you again that the palace is ring shaped, and you do not know how many rooms there are in the palace.
How would you turn off all the lights, and in the end inform your superior (via your cell phone) that you have completed your job?
That said, take a fat dump in the first room u go in now you know where to stop when you come around
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
-
- Joined: Fri May 02, 2014 3:01 am
- Byond Username: Incomptinence
Re: math problem i cant figure out
Insufficient information how much the shop owner paid originally for the $70 dollars worth of goods bought is missing. I mean shops have profit margins on how much they can resell product for this is just sensible.
Also did he have any insurance?
Also did he have any insurance?
- DemonFiren
- Joined: Sat Dec 13, 2014 9:15 pm
- Byond Username: DemonFiren
Re: math problem i cant figure out
assuming that "shape of a circle" means "minimal side corridors and all rooms are on or right next to that circle"pubby wrote:You are a servant in a palace. The palace is in the shape of a circle, and you do not know how many rooms there are in the palace.
Some of the rooms have the lights on, some have the lights off. Your job is to turn all the lights off. I remind you again that the palace is ring shaped, and you do not know how many rooms there are in the palace.
How would you turn off all the lights, and in the end inform your superior (via your cell phone) that you have completed your job?
drop the mobile phone
go around turning out all the lights
keep going
when you find your mobile phone again, ring up your boss
- D&B
- Joined: Mon Jun 13, 2016 2:23 am
- Byond Username: Repukan
- Location: *teleports behind you*
Re: math problem i cant figure out
Leave for the night and tell him the morning servant turned the lights on
Spoiler:
- pubby
- Github User
- Joined: Sun Jul 24, 2016 3:45 pm
- Byond Username: Pubby
- Github Username: pubby
Re: math problem i cant figure out
You are a prisoner in a room with 2 doors and 2 guards. One of the doors will guide you to freedom and behind the other is a hangman --you don't know which is which.
One of the guards always tells the truth and the other always lies. You don't know which one is the truth-teller or the liar either.
You have to choose and open one of these doors, but you can only ask a single question to one of the guards.
What do you ask so you can pick the door to freedom?
One of the guards always tells the truth and the other always lies. You don't know which one is the truth-teller or the liar either.
You have to choose and open one of these doors, but you can only ask a single question to one of the guards.
What do you ask so you can pick the door to freedom?
- Anonmare
- Joined: Sun Mar 15, 2015 8:59 pm
- Byond Username: Anonmare
Re: math problem i cant figure out
I would ask one of the guards, it doesn't matter which, the following question: "If I asked the other guard which door led to freedom, to which would he say it was?"pubby wrote:You are a prisoner in a room with 2 doors and 2 guards. One of the doors will guide you to freedom and behind the other is a hangman --you don't know which is which.
One of the guards always tells the truth and the other always lies. You don't know which one is the truth-teller or the liar either.
You have to choose and open one of these doors, but you can only ask a single question to one of the guards.
What do you ask so you can pick the door to freedom?
After hearing his answer, I choose the opposite of what they say.
It's actually simple, if a bit confusing sounding at first and I find it easier to understand if you break it up into scenarios.
Scenario A: You are talking to the guard who tells the truth and ask them the question. The guard who tells the truth knows that the guard who tells lies would answer the question by pointing at the one leading to death, and so, he points to the death door.
Scenario B: You are talking to the guard who tells lies and ask them the question. The guard who tells lies knows that the guard who tells the truth would answer that question honestly and point to the actual door leading to freedom. Knowing this, the liar guard points to the death door instead as he must always lie about his answers.
Since they always point to the death door, you can safely choose the remaining door as the correct option.
- Anonmare
- Joined: Sun Mar 15, 2015 8:59 pm
- Byond Username: Anonmare
Re: math problem i cant figure out
No, I like logical problems and human decision-making. It fascinates me.CosmicScientist wrote:>beaten by the rabbit
GO TO BED
- Anonmare
- Joined: Sun Mar 15, 2015 8:59 pm
- Byond Username: Anonmare
Re: math problem i cant figure out
I've got one my own:
Alice, Bob and Charlie have kidnapped and poisoned, their kidnapper however has a twisted sense of fairness and a fondness for puzzles and tells them that he will give them a crate containing boxes of the antidote, and 7 fake antidote boxes, labelled alphabetically from A-H. The group may only select one of the possible antidotes, once the selection has been made - all the other antidotes will destroy themselves. To give you all a chance, the kidnapper has placed a very small sample of each antidote on top of their respective boxes and tells you that the real antidote will cause your tongue to go numb after 3 minutes. He then informs you that you only have 5 more minutes to live.
What system can you employ to reliably find the real antidote and save your lives in time?
Alice, Bob and Charlie have kidnapped and poisoned, their kidnapper however has a twisted sense of fairness and a fondness for puzzles and tells them that he will give them a crate containing boxes of the antidote, and 7 fake antidote boxes, labelled alphabetically from A-H. The group may only select one of the possible antidotes, once the selection has been made - all the other antidotes will destroy themselves. To give you all a chance, the kidnapper has placed a very small sample of each antidote on top of their respective boxes and tells you that the real antidote will cause your tongue to go numb after 3 minutes. He then informs you that you only have 5 more minutes to live.
What system can you employ to reliably find the real antidote and save your lives in time?
- PKPenguin321
- Site Admin
- Joined: Tue Jul 01, 2014 7:02 pm
- Byond Username: PKPenguin321
- Github Username: PKPenguin321
- Location: U S A, U S A, U S A
Re: math problem i cant figure out
Theoretically you don't even need 3 people to solve that one assuming there's a time tracker available (if there's not then the other two people can time keep). Just drink one sample every 10 seconds, drinking the first one at 0 seconds. Once the 3 minute mark hits, if you feel numb, it's the first one you drank. If you instead feel numb 10 seconds later, it's the second one you drank. If you instead feel numb 10 seconds later, etc.
Even if the correct vial is the eighth one, you'd still feel numb and instantly know the antidote with 50 seconds to spare
Curious what solution you had in mind
Even if the correct vial is the eighth one, you'd still feel numb and instantly know the antidote with 50 seconds to spare
Curious what solution you had in mind
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
- Anonmare
- Joined: Sun Mar 15, 2015 8:59 pm
- Byond Username: Anonmare
Re: math problem i cant figure out
That would be fine if the numbness is exact, not saying it isn't but it's possible.PKPenguin321 wrote:Theoretically you don't even need 3 people to solve that one assuming there's a time tracker available (if there's not then the other two people can time keep). Just drink one sample every 10 seconds, drinking the first one at 0 seconds. Once the 3 minute mark hits, if you feel numb, it's the first one you drank. If you instead feel numb 10 seconds later, it's the second one you drank. If you instead feel numb 10 seconds later, etc.
Even if the correct vial is the eighth one, you'd still feel numb and instantly know the antidote with 50 seconds to spare
Curious what solution you had in mind
The solution I had in mind is binary logic.
Since you have three people and eight antidotes, you can assign each antidote a unique three digit number using binary in the following order:-
A=000
B=001
C=010
D=011
E=100
F=101
G=110
H=111
Next, you assign each person a column and have them sample antidotes where their column is "1".
So, let's say, Alice is the first column. She'll sample B, D, F and H.
Bob is the second column, he samples: C, D, G and H
Charlie is the last column, and so he will sample: E, F, G and H.
After the three minute mark, you ask whose tongue is numb.
If nobody's tongue is numb, the antidote is A.
If only Alice's tongue is numb, the antidote is B.
If only Bob's tongue is numb, the antidote is C.
If only Charlie's tongue is numb, the antidote is E.
If only Alice and Bob's tongues are numb, the antidote is D.
If only Alice and Charlie's tongues are numb, the antidote is F.
If only Bob and Charlie's tongues are numb, the antidote is G.
If everyone's tongue is numb, the antidote is H.
- PKPenguin321
- Site Admin
- Joined: Tue Jul 01, 2014 7:02 pm
- Byond Username: PKPenguin321
- Github Username: PKPenguin321
- Location: U S A, U S A, U S A
Re: math problem i cant figure out
Nice, that's way more elegant. Tighten up the prompt a bit and you'll be good. I'd give them only 3 minutes and 30 seconds to live, and specify that the numbness has a 5 second margin of error instead of being at exactly the 3 minute mark. That would clean up most brute force solutions like mine
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
- DemonFiren
- Joined: Sat Dec 13, 2014 9:15 pm
- Byond Username: DemonFiren
Re: math problem i cant figure out
walk through a random one, say hi to the hangman if he's there since you didn't specify that he was there specifically to execute mepubby wrote:You are a prisoner in a room with 2 doors and 2 guards. One of the doors will guide you to freedom and behind the other is a hangman --you don't know which is which.
One of the guards always tells the truth and the other always lies. You don't know which one is the truth-teller or the liar either.
You have to choose and open one of these doors, but you can only ask a single question to one of the guards.
What do you ask so you can pick the door to freedom?
I assume he's on lunch break or something
Who is online
Users browsing this forum: No registered users