QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#861875#9980. Boolean Function Reconstructionucup-team1782#WA 0ms3840kbC++141.4kb2025-01-18 20:23:252025-01-18 20:23:32

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3840kb

input:

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

output:

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

result:

ok 7 lines, tightest: 4 out of 14 (7 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3840kb

input:

4
1
00
1
10
1
01
1
11

output:

Yes
FNo
Yes
a
Yes
T

result:

wrong answer Token parameter [name=expression] equals to "FNo", doesn't correspond to pattern "[a-z()TF&\|]+" (test case 1)