Rosetta Problems

三值逻辑

https://www.acwing.com/problem/content/5391