QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#860916#9980. Boolean Function Reconstructionucup-team3727#WA 1ms3712kbC++203.7kb2025-01-18 15:34:132025-01-18 15:34:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

wrong answer invalid expressions 9 (test case 1)