QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#379155#8573. Slothful Secretaryucup-team194#ML 0ms0kbC++1722.7kb2024-04-06 16:24:202024-04-06 16:24:22

详细

Test #1:

score: 0
Memory Limit Exceeded

input:

500000 500000
111236 111238
400537 400538
14798 14799
480138 480140
99901 99904
169041 169045
20969 20970
111098 111100
245492 245493
25296 25300
21736 21739
415491 415495
222594 222595
162236 162238
362422 362425
422694 422695
339973 339974
241678 241680
192401 192403
125627 125629
261473 261474
10...

output:

499998
499998
499998
499996
499993
499989
499989
499987
499987
499983
499980
499976
499976
499974
499971
499971
499971
499969
499967
499965
499965
499961
499961
499961
499961
499961
499961
499958
499955
499952
499949
499947
499947
499945
499942
499940
499938
499936
499934
499930
499926
499924
499920...

result: