QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#39337#3405. Exclusive-ORZhangYiDeAC ✓52ms8596kbC++112.1kb2022-07-09 13:10:452022-07-09 13:10:45

详细

Test #1:

score: 100
Accepted
time: 52ms
memory: 8596kb

input:

5 12
I 0 1 4
I 2 3 3
I 4 5
Q 5 0 4 3 1 2
I 3 4 7
Q 1 3
Q 1 2
I 0 2 17
Q 1 0
Q 2 0 1
I 0 3 6
Q 1 2
5 14
I 0 1 4
I 2 3 3
I 4 5
Q 5 0 4 3 1 2
I 3 4 7
Q 1 3
Q 1 2
Q 3 0 1 3
I 0 2 17
I 4 5
I 0 5
Q 1 0
Q 2 0 1
Q 1 2
5 14
I 0 1 345
I 0 2 72
I 0 3 723
Q 3 1 2 3
Q 2 1 3
I 3 634
Q 3 1 2 3
Q 2 1 3
Q 1 4
Q 1 0
...

output:

Case 1:
2
2
1
16
4
The first 6 facts are conflicting.

Case 2:
2
2
1
6
The first 7 facts are conflicting.

Case 3:
I don't know.
906
875
906
I don't know.
169
496
225
634
440

Case 4:
I don't know.
I don't know.
I don't know.
I don't know.
I don't know.
1058
24209
I don't know.
I don't know.
I don't...

result:

ok 13459 lines