QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#865890#9985. Exploration Boundaryucup-team6072WA 14ms9856kbPython32.1kb2025-01-22 05:20:192025-01-22 05:20:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 14ms
memory: 9856kb

input:

2
8 10
1 2
1 3
1 4
1 5
2 6
3 6
3 7
4 8
5 8
7 8
2
4 3 4 5 6
4 4 5 6 7
5 4
1 2
1 3
2 4
2 5
2
2 3 4
2 2 5

output:

Yes
1 2 3 4 4 3 4 4 3 1
No

result:

ok 2 cases (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 12ms
memory: 9856kb

input:

129
2 1
1 2
1
1 1
2 1
1 2
2
1 1
1 2
3 2
1 2
1 3
1
1 1
3 2
1 2
1 3
1
1 2
3 2
1 2
1 3
1
1 3
3 2
1 2
1 3
1
2 1 2
3 2
1 2
1 3
1
2 1 3
3 2
1 2
1 3
1
2 2 3
3 2
1 2
1 3
1
3 1 2 3
3 2
1 2
1 3
2
1 1
1 2
3 2
1 2
1 3
2
1 1
1 3
3 2
1 2
1 3
2
1 1
2 1 2
3 2
1 2
1 3
2
1 1
2 1 3
3 2
1 2
1 3
2
1 1
2 2 3
3 2
1 2
1 3
...

output:

Yes
inf
Yes
inf
Yes
1 inf
Yes
2 1
Yes
1 2
No
No
Yes
1 2
No
Yes
inf 1
Yes
1 inf
No
No
Yes
1 inf
No
No
No
No
Yes
2 1
No
No
No
Yes
1 2
No
No
No
No
No
No
No
No
No
No
Yes
inf 1
No
No
No
Yes
1 inf
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
N...

result:

wrong output format Expected integer, but "inf" found (test case 1)