QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869084#9960. BaggageHuangHanShengWA 2ms3712kbC++172.4kb2025-01-24 22:58:372025-01-24 22:58:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 7
1 2 500 2
2 3 100 1
3 5 20 2
5 4 5 1
4 2 1 0
3 4 40 2
5 4 77 1

output:

0 500 726 751 746 
-1 0 226 251 246 
-1 -1 0 40 20 
-1 -1 -1 0 -1 
-1 -1 -1 131 0 

result:

ok 25 numbers

Test #2:

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

input:

30 5000
1 15 15034 0
1 15 15034 0
24 28 14745 2
1 15 15034 0
16 25 13210 0
16 22 26942 0
24 20 5423 1
4 12 636 0
16 12 19327 0
1 15 15034 0
1 15 15034 0
3 28 18940 2
1 15 15034 0
15 9 6468 0
20 3 6233 2
19 4 10829 2
1 15 15034 0
26 6 20998 0
1 15 15034 0
1 15 15034 0
1 15 15034 0
4 14 20515 2
1 15 1...

output:

0 868 1159 2746 3001 1108 1557 3972 596 1521 4794 1332 3230 871 2010 2086 1570 783 2082 1490 2026 3440 2627 4515 228 1088 2630 4092 3681 2532 
2534 0 291 2649 2905 2412 4053 4838 2994 2387 4580 464 4486 1719 2784 1989 2476 2087 1985 777 1929 3121 1759 5381 2014 1354 5164 5144 3603 2435 
2243 3111 0 ...

result:

wrong answer 4th numbers differ - expected: '2449', found: '2746'