Skip to main content
1 of 3
Nick Kennedy
  • 21.2k
  • 3
  • 17
  • 43

Jelly, 23 bytes

0_1x$}ÑɗL<¥?
ḟ0ṢṚçḢ$1L?

Try it online!

A full program that takes the input list of answers as its argument and returns 1 for valid and 0 for impossible.

Nick Kennedy
  • 21.2k
  • 3
  • 17
  • 43