QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#86235#5506. HyperloopMaMengQiWA 3ms3788kbC++204.0kb2023-03-09 16:01:272023-03-09 16:01:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 3788kb

input:

2
4 6
1 2 1
1 3 2
2 3 1
2 4 2
3 4 1
1 4 4
6 11
1 2 9
2 3 12
3 4 3
4 5 5
5 6 10
6 1 22
2 4 9
3 6 1
4 6 5
2 5 2
3 5 8

output:

0 1 2 3 
3 2 1 0 
dag of i : (2,1) (3,2) 
dag of i : (3,1) (4,2) 
dag of i : (4,1) 
dag of i : 
4
1 2 3 4 
0 9 19 16 11 20 
20 11 1 4 9 0 
dag of i : (2,9) 
dag of i : (5,2) 
dag of i : (6,1) 
dag of i : (3,3) 
dag of i : (4,5) (3,8) 
dag of i : 
6
1 2 5 4 3 6 

result:

wrong answer Integer 0 violates the range [2, 4] (test case 1)