QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#840653 | #9923. Ma Meilleure Ennemie | SegmentTree | AC ✓ | 970ms | 4228kb | C++14 | 3.5kb | 2025-01-02 21:06:30 | 2025-01-02 21:06:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3764kb
input:
4 4
output:
6
result:
ok 1 number(s): "6"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
2338 1470
output:
18530141
result:
ok 1 number(s): "18530141"
Test #3:
score: 0
Accepted
time: 970ms
memory: 3868kb
input:
941958815880242160 945059392259579928
output:
57894579
result:
ok 1 number(s): "57894579"
Test #4:
score: 0
Accepted
time: 884ms
memory: 4008kb
input:
876240758958364800 893076802030549616
output:
620071951
result:
ok 1 number(s): "620071951"
Test #5:
score: 0
Accepted
time: 908ms
memory: 4084kb
input:
784965679900201800 821160182532263553
output:
66266543
result:
ok 1 number(s): "66266543"
Test #6:
score: 0
Accepted
time: 767ms
memory: 4116kb
input:
511140442725712800 686753968601283360
output:
297358720
result:
ok 1 number(s): "297358720"
Test #7:
score: 0
Accepted
time: 702ms
memory: 4032kb
input:
897612484786617600 946301485716311910
output:
898294924
result:
ok 1 number(s): "898294924"
Test #8:
score: 0
Accepted
time: 883ms
memory: 4008kb
input:
876240758958364800 949973670837969766
output:
258455620
result:
ok 1 number(s): "258455620"
Test #9:
score: 0
Accepted
time: 861ms
memory: 3988kb
input:
657180569218773600 863561658282273171
output:
674933697
result:
ok 1 number(s): "674933697"
Test #10:
score: 0
Accepted
time: 228ms
memory: 3756kb
input:
9350130049860600 186648010357925450
output:
70597352
result:
ok 1 number(s): "70597352"
Test #11:
score: 0
Accepted
time: 122ms
memory: 3632kb
input:
890488576177200 656051601794505564
output:
18986311
result:
ok 1 number(s): "18986311"
Test #12:
score: 0
Accepted
time: 0ms
memory: 3496kb
input:
301180038799975436 468464504626007448
output:
288952066
result:
ok 1 number(s): "288952066"
Test #13:
score: 0
Accepted
time: 0ms
memory: 3764kb
input:
523580256903724660 763948483254956750
output:
809203657
result:
ok 1 number(s): "809203657"
Test #14:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
789351011022563115 821578006156306391
output:
498840902
result:
ok 1 number(s): "498840902"
Test #15:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
999999999999999737 999999999999999992
output:
716070890
result:
ok 1 number(s): "716070890"
Test #16:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
999999999999999967 999999999999999976
output:
716070874
result:
ok 1 number(s): "716070874"
Test #17:
score: 0
Accepted
time: 2ms
memory: 3600kb
input:
999999874000003969 999999879650092039
output:
877014122
result:
ok 1 number(s): "877014122"
Test #18:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
999999274000130869 999999780452875480
output:
492898975
result:
ok 1 number(s): "492898975"
Test #19:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
999941001154992503 999975909388637582
output:
155276407
result:
ok 1 number(s): "155276407"
Test #20:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
999815008942884521 999872058299052785
output:
547534325
result:
ok 1 number(s): "547534325"
Test #21:
score: 0
Accepted
time: 707ms
memory: 3944kb
input:
897612484786617600 952878466220498188
output:
294147460
result:
ok 1 number(s): "294147460"
Test #22:
score: 0
Accepted
time: 644ms
memory: 4008kb
input:
961727662271376000 974988801671467969
output:
572742162
result:
ok 1 number(s): "572742162"
Test #23:
score: 0
Accepted
time: 880ms
memory: 4228kb
input:
876240758958364800 893903040913665744
output:
435836298
result:
ok 1 number(s): "435836298"
Test #24:
score: 0
Accepted
time: 709ms
memory: 4028kb
input:
897612484786617600 952878466220498188
output:
294147460
result:
ok 1 number(s): "294147460"
Test #25:
score: 0
Accepted
time: 450ms
memory: 3900kb
input:
970391875444992000 980657019550811949
output:
815016337
result:
ok 1 number(s): "815016337"
Test #26:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
1 1000000000000000000
output:
716070898
result:
ok 1 number(s): "716070898"
Test #27:
score: 0
Accepted
time: 0ms
memory: 3828kb
input:
916327 9000044616510005
output:
329767168
result:
ok 1 number(s): "329767168"
Test #28:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
7163391 998244353998244353
output:
438645041
result:
ok 1 number(s): "438645041"
Test #29:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
4033 4090
output:
392924428
result:
ok 1 number(s): "392924428"
Extra Test:
score: 0
Extra Test Passed