A loaded question is something like 'Have you stopped swearing?' in which both yes and no answers mean that I have swore, meaning it is impossible to answer the question if I haven't swore.
However, the constructed language Lojban has a word na'i, which means there is something wrong with what you just said.
Your input should be a list of newline-seperated strings containing the following tokens:
startfollowed by any integer (e.g.
You can assume that each
stop n is followed by the corresponding
Then for each
haveYouStopped n in the code:
Yes, I have.+ a newline if the last
stopn occurs before the last
No, I have not.+ a newline if the last
stopn occures after the last
startn, or at least one
startn but no
stopn is found in the previous line
.i na'i+ a newline if no
startn occurs in the previous lines.
The last newline is optional.
Output: Yes, I have.
Output: No, I haven't.
Output: .i na'i
All code is counted in UTF-8 bytes. Codepoints outside the UTF-8 range are not allowed. Use any language, shortest code wins. Also, no external sources are allowed.