2016-07-11から1日間の記事一覧

AOJ 1155: How can I satisfy thee? Let me count the ways...

問題 How can I satisfy thee? Let me count the ways... | Aizu Online Judge "true", "false", "unknown"の3種類があるロジックで、与えられた式を満たすP, Q, Rの組み合わせが何種類あるか数えよ 方針 P, Q, Rがそれぞれ3通りの値を取るため27通りしかな…