Topcoder SRM 798 DIV 2 — Problem 500
4 min readJan 24, 2021
Full problem description is here: https://community.topcoder.com/stat?c=problem_statement&pm=16667
Problem description:
[(copied description here so you don’t have to switch tab). Following description, my solution approach to this problem is presented.]
Three logicians walk into a bar. The bartender asks them: “Do all of you want a beer?”
The first logician answers “I don’t know.”
The second logician answers “I don’t know.”