QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#861245#9980. Boolean Function Reconstructionucup-team4478#WA 0ms3712kbC++201.8kb2025-01-18 16:39:232025-01-18 16:40:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3712kb

input:

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

output:

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

result:

wrong answer 1-th bit is incorrect (test case 6)