QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#600046#4276. Balls and HolesZhangYiDeWA 0ms4032kbC++14649b2024-09-29 14:20:132024-09-29 14:20:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
1 1
2 1 2

output:

1

result:

ok 1 number(s): "1"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3780kb

input:

2
2 1 2
2 2 1

output:

0

result:

ok 1 number(s): "0"

Test #3:

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

input:

2
1 1
1 2

output:

1

result:

ok 1 number(s): "1"

Test #4:

score: 0
Accepted
time: 0ms
memory: 3744kb

input:

3
2 3 1
3 3 1 2
3 1 2 3

output:

1

result:

ok 1 number(s): "1"

Test #5:

score: 0
Accepted
time: 0ms
memory: 3852kb

input:

3
2 1 2
2 2 1
2 1 3

output:

0

result:

ok 1 number(s): "0"

Test #6:

score: 0
Accepted
time: 0ms
memory: 4032kb

input:

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

output:

6

result:

ok 1 number(s): "6"

Test #7:

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

input:

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

output:

6

result:

wrong answer 1st numbers differ - expected: '5', found: '6'