QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#483132#7107. ChaleurHuangHanShengWA 105ms4536kbC++174.2kb2024-07-18 11:40:352024-07-18 11:40:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

2 1
1 4
1 2

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 105ms
memory: 4536kb

input:

2231
1 0
5 7
4 1
3 4
3 1
3 5
4 2
3 2
4 5
5 4
2 1
2 5
2 4
2 3
5 10
3 2
2 5
1 4
4 2
4 5
1 2
1 3
3 5
3 4
1 5
5 10
1 3
2 4
1 4
5 2
2 3
1 5
5 4
1 2
3 4
5 3
5 9
2 5
3 5
2 3
2 1
4 3
3 1
4 1
4 5
2 4
5 4
4 2
4 1
4 5
4 3
5 9
4 1
4 5
3 4
2 4
2 1
3 1
2 5
3 5
3 2
5 4
2 5
2 3
2 1
2 4
5 9
5 2
1 3
4 3
1 2
5 4
4 2
5...

output:

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

result:

wrong answer 4th lines differ - expected: '1 5', found: '5 5'