QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#394639#860. We apologize for any inconveniencellcWA 42ms7152kbC++171.1kb2024-04-20 17:08:302024-04-20 17:08:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
5 4
3 1 3 5
2 1 4
2 2 3
2 2 4
3
1
4
3

output:

1
2
0
0

result:

ok 4 number(s): "1 2 0 0"

Test #2:

score: -100
Wrong Answer
time: 42ms
memory: 7152kb

input:

35
20 20
2 2 13
2 2 9
7 10 3 9 15 5 11 4
9 16 19 15 4 17 18 5 3 8
8 12 20 16 11 18 9 6 4
12 4 18 15 17 6 16 19 14 7 5 20 9
3 8 14 4
5 14 7 9 17 5
3 17 11 20
15 19 11 16 5 8 13 15 20 18 9 10 14 7 4 3
13 19 10 17 6 8 15 9 4 12 20 7 14 16
5 4 12 11 6 18
14 20 17 18 4 8 15 11 16 14 6 5 13 19 3
8 3 10 8 ...

output:

1
1
1
1
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
1
1
0
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
1
1
0
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
1
1
0
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
1
1
0
2
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
1
1
0
2
2
2
2
1
1
1
1
2
2
2
2
2
2
2
2
2
1
1
0
2
2
2
2
1
1
1
1
2
2
...

result:

wrong answer 56th numbers differ - expected: '1', found: '2'