quiz()directly, since we need to make
knows_functionsTrue. Each of these variables are only set within their corresponding functions:
python -c "print 'i will get an A' + '\x00' + 'Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2A'" > ipt.txt
(q != s) && s, we know
smust be 1,
qmust be 0.
(p || q || !r) && (!p || r || !s), we have
(p || 0 || !r) && (!p || r || 0), which is
(p || !r) && (!p || r). Either
p = r = 0or
p = r = 1works.