QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#41081#4389. CopyDianasDog#AC ✓122ms121888kbC++3.0kb2022-07-27 16:19:342022-07-27 16:19:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 122ms
memory: 121888kb

input:

2
5 10
14138491 23289232 33892225 43531245 54436322
1 1 4
2 2
2 3
2 4
2 5
1 2 4
2 2
2 3
2 4
2 5
99990 99990
493133979 94198606 751145654 147404311 601524088 744747426 561746143 212260573 241231749 810352224 81276441 382492450 18779020 317505899 880615584 654793240 417574821 822313301 140569958 69317...

output:

28631531
787379207

result:

ok 2 lines