#logic problem
54 messages · Page 1 of 1 (latest)
- Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close - Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
So weirdly written
"each key opens at least one of the adjacent lockers" you don't know which one?
no
you don’t
Or you have to open D or the book is wrong
idk i don’t think it’s wrong
like i think
if we have the key to c
it also openes b
the only adjacent of A is b
so b’s key openes A too
and if B’s key openes A
it says the key that openes A also openes E
so we can unlock E
@magic elm
do you think this is correct
Yup that's right
I think perhaps you didn't state it exactly correctly, which matters a lot.
it’s like this
Because you understand that there's a distinction between the key to a locker and a key that opens a locker, right?
The key to A is the one and only key that is designed to open A. It may also open B, but it's not the key to B, that would be a different key.
Think about the distinction in a hotel between the key to room 402 and the master key.
oh yes
bro
can you tell me
how to solve that problem
Can you give us a screenshot of the problem as originally worded?
ok
number 92
(it’s italian)
you can translate it
- There are 5 lockers placed next to each other on a wall, in the order:
A, B, C, D, E. We know that the key of A also opens E, the key of C also opens B, and each key opens at least one of the adjacent lockers. How many keys do we need, at a minimum, to open all the lockers?
this is the translation
Yeah, the problem is poorly stated. The key to A also opens E is different from saying every key that opens A also opens E, and "each key opens at least one of the adjacent lockers" is ambiguous, because does it only open one of the lockers adjacent to the locker it belongs to, or adjacent to every other locker it opens?
idk
i think it openes the one u wnat
want
...I know you don't know. You don't know because the problem doesn't tell you. That's what makes the problem poorly written.
wait
it says it openes atleast 1 of the adjacent lockers
it can mean it openes both
...not remotely the problem.
i’m gonna shower hope you can solve it or i will have to skip the problem
The problem as stated DOES NOT HAVE an answer. There is not enough information.
That's what I mean when I say the problem is poorly stated.
I think the answer is actually 3. Take the key to A, which also opens E and B, and then you need the keys to C and D.
But it's important to note that the question is poorly stated and not specific enough. We had to make assumptions about what it was saying to reach that result, and the reason we got a different answer is presumably because my assumptions were more conservative than the gap between what the question says and what the question meant.