QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#875332#4809. Maximum RangeMarSer020WA 30ms12104kbC++262.7kb2025-01-29 16:11:372025-01-29 16:11:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
4
4 5 1 3 

result:

ok ok

Test #2:

score: -100
Wrong Answer
time: 30ms
memory: 12104kb

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:

612
634
268
348
356
350
310
664
658
154
196
628
200
------------------------
610
640
40
34
258
342
316
184
178
152
12
14
198
1959330954
24
96048 4697 44442 68883 69259 57672 29557 99016 25485 2440 31171 95092 94991 96048 4697 44442 68883 69259 57672 29557 99016 25485 2440 31171 

result:

wrong output format Expected integer, but "------------------------" found