QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#313853#7992. 【模板】线段树llzerWA 1709ms68048kbC++203.0kb2024-01-25 01:21:212024-01-25 01:21:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

10 10
969575 741825 24903 1047319 450475 256145 1045323 479255 810659 768323
1 5 6 3034
2 1 10
2 1 9
2 1 4
1 3 6 126904
2 5 5
2 9 9
1 7 7 853094
1 4 9 1025178
2 5 8

output:

1045541
1012343
558151
580413
810659
527353

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 1709ms
memory: 68048kb

input:

200000 200000
496015 180543 330721 874799 740427 144379 598057 795949 323465 87657 683935 748203 748665 288301 846003 33033 746029 132621 876629 361899 701297 373189 256151 723161 377571 54947 91151 855991 433965 73347 155081 314317 790527 705555 1035217 298963 604641 203865 230029 802437 720769 843...

output:

746709
564663
426791
840425
762201
1020165
258535
762899
601205
484409
60619
55603
572453
890989
959903
46807
272239
97203
352325
786185
716807
730799
453231
80475
350177
381801
661257
202971
281509
173193
575873
646839
38501
627439
70917
452465
532215
895283
380935
329401
1012483
836063
960131
3534...

result:

wrong answer 6th lines differ - expected: '413693', found: '1020165'