QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#307615#3829. Stephen Cookezteam1#AC ✓22ms4164kbC++143.3kb2024-01-18 21:28:452024-01-18 21:28:45

详细

Test #1:

score: 100
Accepted
time: 22ms
memory: 4164kb

input:

20
9
( not not not not E or ( F and ( ( C or E ) and not ( E and not not G ) ) or not ( not not ( A and B and D ) and not not A or not I ) ) ) and ( ( not ( C and ( ( E or E ) and not I ) ) or not H ) and not H )
7
not ( ( F or not ( not C or not G and not F ) ) and ( C or E or ( not not not C and A...

output:

Cook
Cook
Levin
Cook
Cook
Cook
Cook
Cook
Levin
Cook
Levin
Levin
Levin
Levin
Levin
Levin
Levin
Levin
Levin
Cook

result:

ok 20 lines