QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#195715#4809. Maximum RangebjaoefiajWA 90ms26524kbC++141.6kb2023-10-01 06:32:102023-10-01 06:32:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 14468kb

input:

5 7
1 2 1
1 3 -2
2 3 1
3 4 3
4 5 1
1 5 -1
2 5 2

output:

5
5
1 2 5 4 3

result:

ok ok

Test #2:

score: -100
Wrong Answer
time: 90ms
memory: 26524kb

input:

99997 100000
12238 99016 352755196
99016 25485 -412473602
25485 2440 991507552
2440 31171 -181894654
36970 2440 -800167579
2440 41865 -148191946
96629 31171 847888506
36970 95740 395546542
27992 2440 647886610
99016 29557 369124914
80795 27992 -673871966
36970 3509 573208857
57672 29557 874406776
41...

output:

1959330954
5
1 2 5 4 3

result:

wrong answer Edge 1-2 does not appear in original graph