QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#155066#6533. Traveling in Cellsucup-team1024WA 148ms8748kbC++233.6kb2023-09-01 09:18:572023-09-01 09:18:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 8748kb

input:

2
5 10
1 2 3 1 2
1 10 100 1000 10000
3 3 1 3
3 3 2 2 3
2 5 20000
2 3 200
3 3 2 1 3
3 3 3 1 2 3
1 3 4
2 1 100000
1 2 2
3 1 2 1 2
4 1
1 2 3 4
1000000 1000000 1000000 1000000
3 4 4 1 2 3 4

output:

100
110
1200
21211
100010
4000000

result:

ok 6 numbers

Test #2:

score: -100
Wrong Answer
time: 148ms
memory: 8264kb

input:

20000
15 15
1 1 3 3 2 3 3 3 3 3 2 3 2 3 3
634593973 158136379 707704004 998369647 831633445 263092797 937841412 451774682 552617416 483763379 50360475 794662797 74247465 537217773 901809831
3 6 4 1 3 5 10
3 5 7 1 2 3 4 5 9 10
3 4 3 3 8 9
2 13 608033129
3 15 2 3 5
1 9 3
3 8 4 1 3 7 10
2 6 727472865
3...

output:

1200934209
2093095889
1706073651
1439027604
1942233510
792730352
2474037553
3423316340
2557475957
831633445
692051585
1700235562
697783016
883944422
184057757
287523250
184057757
696388752
184057757
1675459344
1801754632
1224030098
2486692596
1767091974
2611904509
1056215150
390631780
1612891177
942...

result:

wrong answer 1st numbers differ - expected: '2689089686', found: '1200934209'