QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#39257#3405. Exclusive-ORHuangHanShengAC ✓51ms7740kbC++112.0kb2022-07-09 10:30:082022-07-09 10:30:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 51ms
memory: 7740kb

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