QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38476#1195. One-Way ConveyorsZhaoZiLongWA 3ms17936kbC++177.0kb2022-07-05 23:34:072022-07-05 23:34:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 17916kb

input:

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

output:

Yes
1 2
2 3

result:

ok OK!

Test #2:

score: 0
Accepted
time: 3ms
memory: 17808kb

input:

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

output:

No

result:

ok OK!

Test #3:

score: -100
Wrong Answer
time: 2ms
memory: 17936kb

input:

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

output:

Yes
1 2
2 3
3 1
4 1

result:

wrong answer Could not reach from 1 to 4