QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#855659#9980. Boolean Function Reconstructionucup-team1878#WA 1ms3572kbC++141.4kb2025-01-13 06:30:552025-01-13 06:30:56

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3572kb

input:

7
2
0001
2
0111
2
1111
3
00010111
1
10
2
0101
5
00000000000000000000000000000001

output:

Yes
(F|(a&b))
Yes
(b|(a&T))
Yes
(T|(a&T))
Yes
((F|(b&c))|(a&(c|(b&T))))
No
Yes
(F|(a&T))
Yes
((((F|(d&F))|(c&(F|(d&F))))|(b&((F|(d&F))|(c&(F|(d&F))))))|(a&(((F|(d&F))|(c&(F|(d&F))))|(b&((F|(d&F))|(c&(F|(d&e))))))))

result:

wrong answer 30 operations, you can't use more than 26 operations (test case 7)