QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#382242 | #7455. stcm | Qiuly | AC ✓ | 219ms | 36360kb | C++17 | 3.4kb | 2024-04-08 08:05:49 | 2024-04-08 08:05:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 40ms
memory: 18540kb
input:
1000 1 1 2 1 1 2 2 7 2 7 3 11 10 6 4 8 10 13 16 2 19 7 6 18 6 2 16 27 21 14 6 14 14 29 12 13 3 27 28 27 2 34 26 27 44 14 30 25 7 50 47 1 36 24 4 32 10 20 53 52 61 23 43 39 2 15 47 9 14 54 48 53 36 14 14 66 76 55 17 67 21 22 18 25 67 75 7 48 21 6 35 11 31 41 63 28 6 98 51 3 29 52 102 77 27 58 39 64 9...
output:
=1+3+12+36+54+71+338+511+471+74+112+365+374+684+749+902+908+930+300+895+439+493+530+583+839+253+459+716+974+631+309+519+953+482+804+123+261+307+345+383+487+607+632+946+596+880+932+720+992+594+693+836+157+527+326+859+467+818+536+38+124+159+645+834+405+462+101+246+659+268+725+949+5+277+279+312+638+713...
result:
ok 10641 / 511407 / 477201
Test #2:
score: 0
Accepted
time: 215ms
memory: 30552kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
=1+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+102+1...
result:
ok 1768893 / 2020932 / 1968889
Test #3:
score: 0
Accepted
time: 178ms
memory: 32092kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
=1+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+102+1...
result:
ok 1768893 / 2183982 / 1545729
Test #4:
score: 0
Accepted
time: 201ms
memory: 32932kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
=1+11723+15815+35789+43600+89033+17997+40239+65239+66737+67008+70493+71468+79119+82171+84809+85782+94310+95626+14298+83950+84286+22990+64808+74750+78531+96265+1=2+77957+96113+98407+2=3+15515+55430+97194+20655+27290+52948+65634+76275+30176+35736+38765+60501+32839+37049+57436+57682+26643+48174+53297+4...
result:
ok 1576357 / 1256506 / 1853690
Test #5:
score: 0
Accepted
time: 197ms
memory: 31916kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 95 33 47 4 54 83 22 90 98 51 7 58 66 61 73 42 15 68 90 88 98 13 96 96 40 21 70 82 22 12 87 100 ...
output:
=1+2+381+485+486+508+692+798+1010+1041+1053+1134+1160+1241+1313+1428+1484+1571+1884+1890+2163+2275+2309+2451+2485+2486+2581+2586+2722+3219+3436+3588+3875+3918+3974+4016+4148+4535+4606+4663+4844+4934+5135+5339+5369+5421+5589+5730+6319+6372+6439+6546+6709+6771+7092+7201+7279+7401+7608+7612+7720+7768+7...
result:
ok 1864767 / 1853784 / 1788085
Test #6:
score: 0
Accepted
time: 219ms
memory: 31612kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
=1+2+24001+73548+77544+93019+25750+41529+48896+62734+65826+84330+86383+3+22340+40247+44433+49186+53098+54566+55471+57212+57559+60952+63636+82085+4+19177+20194+25053+53114+54067+67210+82208+5+13421+76482+21671+83372+41419+42731+46647+47858+57080+58855+60318+61026+71719+74665+6+28589+75316+40473+45495...
result:
ok 1757297 / 1825409 / 1843043
Test #7:
score: 0
Accepted
time: 176ms
memory: 31740kb
input:
100000 1 1 1 1 1 1 1 1 1 7 2 3 11 4 9 5 6 9 10 6 10 3 6 6 7 7 6 4 7 6 7 8 4 7 9 8 8 9 6 4 9 4 9 10 4 2 8 9 9 7 4 5 3 10 8 6 6 8 7 8 7 7 11 2 7 11 6 5 8 6 4 5 10 7 10 11 11 3 4 8 9 7 11 11 3 3 9 6 2 6 3 2 5 10 11 9 6 2 6 8 10 11 3 6 8 3 3 8 6 5 6 3 3 4 7 8 11 7 11 6 2 9 7 8 5 4 11 9 5 4 7 10 10 9 7 3...
output:
=1+2+12+69115+75511+47+72996+65+66201+80964+90+66437+67145+93+73235+76293+98880+99+76728+122+91191+93115+96028+161+174+73967+87834+187+198+92747+205+206+91232+94721+210+91190+216+227+74760+84162+99066+230+235+60343+248+67846+83489+260+84912+90792+263+65958+268+285+306+309+67478+82079+310+67075+97950...
result:
ok 1830497 / 2186032 / 2087150
Test #8:
score: 0
Accepted
time: 149ms
memory: 31436kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 13 13 1...
output:
=1+3+30+300+3000+30000+30001+30002+30003+30004+30005+30006+30007+30008+30009+3001+30010+30011+30012+30013+30014+30015+30016+30017+30018+30019+3002+30020+30021+30022+30023+30024+30025+30026+30027+30028+30029+3003+30030+30031+30032+30033+30034+30035+30036+30037+30038+30039+3004+30040+30041+30042+30043...
result:
ok 2046692 / 1947676 / 1935335
Test #9:
score: 0
Accepted
time: 156ms
memory: 32316kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
=1+3+900+901+902+903+904+905+906+907+908+909+910+911+912+913+914+915+916+917+918+919+920+921+922+923+924+925+926+927+928+929+930+931+932+933+934+935+936+937+938+939+940+941+942+943+944+945+946+947+948+949+950+951+952+953+954+955+956+957+958+959+960+961+962+963+964+965+966+967+968+969+970+971+972+973...
result:
ok 1868818 / 1864533 / 1860090
Test #10:
score: 0
Accepted
time: 165ms
memory: 33420kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
=1+3+30000+30001+30002+30003+30004+30005+30006+30007+30008+30009+30010+30011+30012+30013+30014+30015+30016+30017+30018+30019+30020+30021+30022+30023+30024+30025+30026+30027+30028+30029+30030+30031+30032+30033+30034+30035+30036+30037+30038+30039+30040+30041+30042+30043+30044+30045+30046+30047+30048+3...
result:
ok 1842297 / 1778849 / 1258910
Test #11:
score: 0
Accepted
time: 161ms
memory: 36360kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
=1+100000+1=2+50001+2=3+50002+3=4+50003+4=5+50004+5=6+50005+6=7+50006+7=8+50007+8=9+50008+9=10+50009+10=11+50010+11=12+50011+12=13+50012+13=14+50013+14=15+50014+15=16+50015+16=17+50016+17=18+50017+18=19+50018+19=20+50019+20=21+50020+21=22+50021+22=23+50022+23=24+50023+24=25+50024+25=26+50025+26=27+5...
result:
ok 934447 / 1598910 / 1717910
Test #12:
score: 0
Accepted
time: 198ms
memory: 30868kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
=1+2000+3000+4000+5000+6000+7000+8000+9000+10000+11000+12000+13000+14000+15000+16000+17000+18000+19000+20000+21000+22000+23000+24000+25000+26000+27000+28000+29000+30000+31000+32000+33000+34000+35000+36000+37000+38000+39000+40000+41000+42000+43000+44000+45000+46000+47000+48000+49000+50000+51000+52000...
result:
ok 1751910 / 1763810 / 1767210
Test #13:
score: 0
Accepted
time: 193ms
memory: 32440kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 2 3 4 5 6 7 8 ...
output:
=1+100+150+200+250+300+350+400+450+500+550+600+650+700+750+800+850+900+950+1000+1050+1100+1150+1200+1250+1300+1350+1400+1450+1500+1550+1600+1650+1700+1750+1800+1850+1900+1950+2000+2050+2100+2150+2200+2250+2300+2350+2400+2450+2500+2550+2600+2650+2700+2750+2800+2850+2900+2950+3000+3050+3100+3150+3200+...
result:
ok 1768060 / 1768570 / 1768740
Test #14:
score: 0
Accepted
time: 171ms
memory: 33076kb
input:
100000 1 2 3 4 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4...
output:
=1+10+15+20+25+30+35+40+45+50+55+60+65+70+75+80+85+90+95+100+105+110+115+120+125+130+135+140+145+150+155+160+165+170+175+180+185+190+195+200+205+210+215+220+225+230+235+240+245+250+255+260+265+270+275+280+285+290+295+300+305+310+315+320+325+330+335+340+345+350+355+360+365+370+375+380+385+390+395+400...
result:
ok 1768825 / 1768876 / 1408894
Test #15:
score: 0
Accepted
time: 127ms
memory: 31828kb
input:
100000 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 11 6 23 24 25 26 27 28 29 30 31 6 23 24 25 26 27 28 29 30 31 32 27 44 45 46 47 48 49 50 51 52 27 44 45 46 47 48 49 50 51 52 53 48 65 66 67 68 69 70 71 72 73 48 65 66 67 68 69 70 71 72 73 74 69 86 87 88 89 90 91 92 93 94 69 86 87 88 89 90 91 92 93 94 9...
output:
=1+12+1=2+13+2=3+14+3=4+15+4=5+16+5=6+7+8+9+10+11+22+21+20+19+18+17+33+6=23+34+23=24+35+24=25+36+25=26+37+26=27+28+29+30+31+32+43+42+41+40+39+38+54+27=44+55+44=45+56+45=46+57+46=47+58+47=48+49+50+51+52+53+64+63+62+61+60+59+75+48=65+76+65=66+77+66=67+78+67=68+79+68=69+70+71+72+73+74+85+84+83+82+81+80...
result:
ok 1311684 / 1271998 / 1227657
Test #16:
score: 0
Accepted
time: 117ms
memory: 33056kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
=1+302+1=2+303+2=3+304+3=4+305+4=5+306+5=6+307+6=7+308+7=8+309+8=9+310+9=10+311+10=11+312+11=12+313+12=13+314+13=14+315+14=15+316+15=16+317+16=17+318+17=18+319+18=19+320+19=20+321+20=21+322+21=22+323+22=23+324+23=24+325+24=25+326+25=26+327+26=27+328+27=28+329+28=29+330+29=30+331+30=31+332+31=32+333+...
result:
ok 1184189 / 1140228 / 1082870
Test #17:
score: 0
Accepted
time: 121ms
memory: 34396kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
=1+10002+1=2+10003+2=3+10004+3=4+10005+4=5+10006+5=6+10007+6=7+10008+7=8+10009+8=9+10010+9=10+10011+10=11+10012+11=12+10013+12=13+10014+13=14+10015+14=15+10016+15=16+10017+16=17+10018+17=18+10019+18=19+10020+19=20+10021+20=21+10022+21=22+10023+22=23+10024+23=24+10025+24=25+10026+25=26+10027+26=27+10...
result:
ok 1034391 / 1408894 / 751119
Test #18:
score: 0
Accepted
time: 146ms
memory: 31944kb
input:
100000 1 1 1 4 4 4 4 4 9 10 10 10 10 14 14 14 14 14 14 14 14 22 23 24 25 26 27 27 29 30 30 30 33 34 35 36 36 38 38 40 40 40 40 44 44 44 47 47 49 49 49 49 49 54 54 56 57 57 59 59 61 61 63 64 65 65 67 67 67 70 71 71 71 71 75 75 75 75 75 75 75 75 83 83 85 85 85 88 89 89 91 91 91 91 95 96 97 98 98 98 10...
output:
=1+2+3+1=4+5+6+7+8+4=9+9=10+11+12+13+10=14+15+16+17+18+19+20+21+14=22+22=23+23=24+24=25+25=26+26=27+28+27=29+29=30+31+32+30=33+33=34+34=35+35=36+37+36=38+39+38=40+41+42+43+40=44+45+46+44=47+48+47=49+50+51+52+53+49=54+55+54=56+56=57+58+57=59+60+59=61+62+61=63+63=64+64=65+66+65=67+68+69+67=70+70=71+72...
result:
ok 1381393 / 2172501 / 2075471
Test #19:
score: 0
Accepted
time: 128ms
memory: 32836kb
input:
100000 1 1 1 1 1 1 1 1 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 32 33 33 33 33 33 33 39 40 40 42 42 42 42 42 42 42 49 50 50 50 50 50 50 56 57 58 59 59 59 59 59 64 65 65 65 65 69 69 69 69 69 69 69 69 69 69 69 80 80 82 82 82 82 82 82 88 89 89 89 89 89 89 95 95 95 95 99 99 99 99 99 99 105 105 105 ...
output:
=1+2+3+4+5+6+7+8+1=9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+9=32+32=33+34+35+36+37+38+33=39+39=40+41+40=42+43+44+45+46+47+48+42=49+49=50+51+52+53+54+55+50=56+56=57+57=58+58=59+60+61+62+63+59=64+64=65+66+67+68+65=69+70+71+72+73+74+75+76+77+78+79+69=80+81+80=82+83+84+85+86+8...
result:
ok 1353229 / 1207162 / 1332941
Test #20:
score: 0
Accepted
time: 147ms
memory: 32528kb
input:
100000 1 1 3 3 3 3 3 3 3 3 3 3 3 14 14 14 14 14 14 20 20 20 20 24 25 26 26 26 26 26 26 26 26 26 35 35 37 37 37 37 37 37 37 37 37 46 47 47 47 47 47 52 53 53 53 53 53 53 53 53 61 61 63 63 63 63 63 68 68 70 71 71 71 71 71 76 77 78 79 79 81 81 81 81 85 86 87 87 87 87 87 87 87 87 87 96 97 97 97 97 97 102...
output:
=1+2+1=3+4+5+6+7+8+9+10+11+12+13+3=14+15+16+17+18+19+14=20+21+22+23+20=24+24=25+25=26+27+28+29+30+31+32+33+34+26=35+36+35=37+38+39+40+41+42+43+44+45+37=46+46=47+48+49+50+51+47=52+52=53+54+55+56+57+58+59+60+53=61+62+61=63+64+65+66+67+63=68+69+68=70+70=71+72+73+74+75+71=76+76=77+77=78+78=79+80+79=81+8...
result:
ok 1503938 / 1711517 / 1896494
Test #21:
score: 0
Accepted
time: 155ms
memory: 30728kb
input:
100000 1 1 3 3 5 5 5 5 9 9 9 12 12 12 15 15 15 15 19 19 19 19 19 24 25 25 25 25 25 30 31 31 33 33 35 35 37 37 39 39 39 39 43 44 44 44 47 48 48 50 50 50 53 53 53 53 57 57 57 60 60 62 62 62 62 62 62 62 62 62 62 62 62 74 74 74 74 74 74 74 74 74 83 84 84 84 84 84 89 90 91 91 91 94 95 96 96 98 99 99 101 ...
output:
=1+2+1=3+4+3=5+6+7+8+5=9+10+11+9=12+13+14+12=15+16+17+18+15=19+20+21+22+23+19=24+24=25+26+27+28+29+25=30+30=31+32+31=33+34+33=35+36+35=37+38+37=39+40+41+42+39=43+43=44+45+46+44=47+47=48+49+48=50+51+52+50=53+54+55+56+53=57+58+59+57=60+61+60=62+63+64+65+66+67+68+69+70+71+72+73+62=74+75+76+77+78+79+80+...
result:
ok 2008554 / 2114803 / 2133263
Test #22:
score: 0
Accepted
time: 152ms
memory: 29936kb
input:
100000 1 1 3 3 3 3 3 3 3 10 10 10 10 10 10 16 17 17 17 20 21 21 23 23 23 23 23 23 23 30 31 32 32 34 34 36 36 38 38 38 41 42 43 43 45 45 45 48 48 48 48 52 52 54 55 55 55 55 59 59 61 62 62 62 65 66 66 66 66 66 71 72 72 74 74 76 77 78 79 80 81 81 83 83 85 86 86 86 86 86 91 92 93 93 95 95 95 95 95 100 1...
output:
=1+2+1=3+4+5+6+7+8+9+3=10+11+12+13+14+15+10=16+16=17+18+19+17=20+20=21+22+21=23+24+25+26+27+28+29+23=30+30=31+31=32+33+32=34+35+34=36+37+36=38+39+40+38=41+41=42+42=43+44+43=45+46+47+45=48+49+50+51+48=52+53+52=54+54=55+56+57+58+55=59+60+59=61+61=62+63+64+62=65+65=66+67+68+69+70+66=71+71=72+73+72=74+7...
result:
ok 2146816 / 2156740 / 2169733
Test #23:
score: 0
Accepted
time: 155ms
memory: 30200kb
input:
100000 1 1 3 3 3 3 3 8 8 10 11 12 12 14 14 14 14 14 14 20 21 21 21 21 25 25 25 25 25 30 30 30 30 30 35 35 35 38 38 38 38 42 42 42 45 46 46 46 46 50 50 50 53 53 53 53 53 53 53 53 53 62 63 63 63 63 67 67 67 70 70 70 73 74 75 76 77 78 79 80 81 81 81 80 85 85 85 80 89 89 89 92 79 94 95 95 95 94 99 99 99...
output:
=1+2+1=3+4+5+6+7+3=8+9+8=10+10=11+11=12+13+12=14+15+16+17+18+19+14=20+20=21+22+23+24+21=25+26+27+28+29+25=30+31+32+33+34+30=35+36+37+35=38+39+40+41+38=42+43+44+42=45+45=46+47+48+49+46=50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88...
result:
ok 2169326 / 2168468 / 2170104
Test #24:
score: 0
Accepted
time: 152ms
memory: 30156kb
input:
100000 1 1 1 4 4 6 6 8 9 9 11 12 13 14 15 16 17 18 19 19 19 18 23 23 23 18 27 27 27 30 17 32 33 33 33 32 37 37 37 32 41 41 41 44 17 46 47 47 47 50 46 52 52 52 55 46 57 57 57 60 16 62 63 64 64 64 63 68 68 68 63 72 72 72 75 62 77 78 78 78 77 82 82 82 77 86 86 86 89 62 91 92 92 92 95 91 97 97 97 100 91...
output:
=1+2+3+1=4+5+4=6+7+6=8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+1...
result:
ok 2170196 / 2171348 / 2075475
Test #25:
score: 0
Accepted
time: 155ms
memory: 30460kb
input:
100000 1 2 3 4 5 5 5 8 8 8 8 12 12 14 15 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 34 36 33 38 38 32 41 42 41 44 31 46 47 48 47 50 46 52 52 54 30 56 57 58 58 60 57 62 62 64 56 66 67 67 66 70 70 29 73 74 75 76 76 78 75 80 80 82 74 84 85 85 84 88 73 90 91 92 91 94 90 96 96 98 28 100 101...
output:
=1+1=2+2=3+3=4+4=5+6+7+5=8+9+10+11+61804+61805+61806+61807+61808+61809+61810+61811+61812+61813+61814+61815+61816+61817+61818+61819+61820+61821+61822+61823+61824+61825+61826+61827+61828+61829+61830+61831+61832+61833+61834+61835+61836+61837+61838+61839+61840+61841+61842+61843+61844+61845+61846+61847+6...
result:
ok 2075308 / 2075085 / 2074727
Test #26:
score: 0
Accepted
time: 150ms
memory: 30500kb
input:
100000 1 2 3 3 5 5 5 8 8 8 8 8 8 8 8 16 17 18 18 18 18 18 23 23 23 23 27 27 27 30 31 31 33 34 35 35 35 35 35 35 35 35 43 44 44 44 44 44 44 50 51 51 53 53 53 53 53 58 58 58 58 62 62 64 65 65 65 68 69 70 70 70 70 70 70 70 77 77 77 80 81 81 81 81 81 81 81 88 88 90 91 91 91 94 94 96 97 97 97 100 100 100...
output:
=1+1=2+2=3+4+3=5+6+7+5=8+9+10+11+12+13+14+15+8=16+16=17+17=18+19+20+21+22+18=23+24+25+26+23=27+28+29+27=30+30=31+32+31=33+33=34+34=35+36+37+38+39+40+41+42+35=43+43=44+45+46+47+48+49+44=50+61820+61821+61822+61823+61824+61825+61826+61827+61828+61829+61830+61831+61832+61833+61834+61835+61836+61837+6183...
result:
ok 2073127 / 2070021 / 2062974
Test #27:
score: 0
Accepted
time: 148ms
memory: 30720kb
input:
100000 1 2 2 2 2 2 7 7 7 10 10 12 12 12 15 15 17 17 17 17 21 21 21 21 25 26 26 26 26 26 26 32 33 33 35 35 37 38 38 40 40 40 40 44 44 44 44 44 44 44 51 51 53 53 53 53 53 53 53 60 61 61 61 61 65 65 67 68 69 70 71 71 71 71 75 76 76 78 78 78 78 82 82 84 84 84 87 88 89 89 89 89 93 93 93 96 97 97 97 97 10...
output:
=1+1=2+3+4+5+6+2=7+8+9+7=10+11+10=12+13+14+12=15+16+15=17+18+19+20+17=21+22+23+24+21=25+25=26+27+28+29+30+31+26=32+32=33+34+33=35+36+35=37+37=38+39+38=40+41+42+43+40=44+45+46+47+48+49+50+44=51+52+51=53+54+55+56+57+58+59+53=60+60=61+62+63+64+61=65+66+65=67+67=68+68=69+69=70+70=71+72+73+74+71=75+75=76...
result:
ok 2048171 / 2021883 / 1979366
Test #28:
score: 0
Accepted
time: 161ms
memory: 32012kb
input:
100000 1 2 2 2 2 6 6 8 9 9 9 9 13 14 15 15 15 15 15 20 20 20 23 23 23 23 27 27 27 30 30 30 33 34 34 36 37 38 38 40 41 42 43 43 43 43 43 43 43 43 51 52 52 52 52 56 56 56 56 56 56 56 56 64 64 64 67 67 69 69 69 69 69 69 75 75 75 75 79 79 79 82 82 84 85 85 85 88 88 88 88 92 92 92 95 95 95 98 99 99 99 99...
output:
=1+1=2+3+4+5+2=6+7+6=8+8=9+10+11+12+9=13+13=14+14=15+16+17+18+19+15=20+21+22+20=23+24+25+26+23=27+28+29+27=30+31+32+30=33+33=34+35+34=36+36=37+37=38+39+38=40+40=41+41=42+42=43+44+45+46+47+48+49+50+43=51+51=52+53+54+55+52=56+57+58+59+60+61+62+63+56=64+65+66+64=67+68+67=69+70+71+72+73+74+69=75+76+77+7...
result:
ok 1893553 / 1754927 / 1579122
Test #29:
score: 0
Accepted
time: 136ms
memory: 34756kb
input:
100000 1 1 1 1 1 1 1 8 9 9 11 12 13 14 14 14 14 14 19 20 20 20 23 23 23 23 27 28 29 29 29 32 33 33 35 36 37 38 38 38 38 42 42 42 42 46 47 48 48 50 51 52 52 54 54 56 57 57 57 60 60 62 62 62 62 62 62 68 68 68 68 72 73 73 73 76 76 76 76 80 81 81 81 84 85 86 86 88 88 90 90 90 93 93 95 96 96 96 96 96 96 ...
output:
=1+2+3+4+5+6+7+1=8+8=9+10+9=11+11=12+12=13+13=14+15+16+17+18+14=19+19=20+21+22+20=23+24+25+26+23=27+27=28+28=29+30+31+29=32+32=33+34+33=35+35=36+36=37+37=38+39+40+41+38=42+43+44+45+42=46+46=47+47=48+49+48=50+50=51+51=52+53+52=54+55+54=56+56=57+58+59+57=60+61+60=62+63+64+65+66+67+62=68+69+70+71+68=72...
result:
ok 1405641 / 1279430 / 1202249
Test #30:
score: 0
Accepted
time: 122ms
memory: 30432kb
input:
100000 1 2 3 1 5 6 5 8 8 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 29 30 31 32 33 34 35 36 37 38 39 40 41 29 43 44 45 46 47 48 49 43 51 52 53 51 55 56 55 58 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 1 77 78 79 80 81 82 83 84 77 86 87 88 89 86 91 92 91 94 94 96 96 98 99 100 101...
output:
=1+2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+102...
result:
ok 1670996 / 1663394 / 1657682
Test #31:
score: 0
Accepted
time: 132ms
memory: 29312kb
input:
100000 1 1 3 3 5 1 7 7 9 7 11 11 13 13 1 16 17 16 19 19 21 21 16 24 24 26 27 24 29 30 29 32 32 34 1 36 37 36 39 39 41 36 43 43 45 43 47 48 47 50 50 52 36 54 54 56 54 58 58 60 60 54 63 63 65 66 63 68 69 68 71 71 73 73 75 76 1 78 79 78 81 81 83 78 85 85 87 85 89 89 91 91 93 78 95 95 97 95 99 99 101 10...
output:
=1+2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+102...
result:
ok 1816358 / 1687055 / 1499994
Test #32:
score: 0
Accepted
time: 132ms
memory: 31976kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 1 15 16 17 18 19 20 15 22 23 24 22 26 27 26 29 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 1 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 65 97 98 99 100 101...
output:
=1+2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+102...
result:
ok 1335878 / 1046827 / 2139071
Test #33:
score: 0
Accepted
time: 174ms
memory: 30812kb
input:
100000 1 1 3 3 5 5 5 5 9 9 9 9 13 14 14 16 16 16 19 19 21 21 23 24 25 26 26 26 26 26 26 26 33 34 34 34 34 34 34 40 41 41 41 44 45 45 45 45 49 49 49 52 52 52 55 56 56 58 58 58 58 58 63 64 64 64 67 68 68 70 70 72 73 74 72 72 77 72 79 80 80 80 70 70 85 85 87 85 85 90 85 85 93 93 93 70 70 98 99 100 100 ...
output:
=1+2+1=3+4+3=5+6+7+8+5=9+10+11+12+9=13+13=14+15+14=16+17+18+16=19+20+33347+33348+33349+33350+33351+33352+33353+33354+33355+33356+33357+33358+33359+33360+33361+33362+33363+33364+33365+33366+33367+33368+33369+33370+33371+33372+33373+33374+33375+33376+33377+33378+33379+33380+33381+33382+33383+33384+333...
result:
ok 2133321 / 2108853 / 2080182
Test #34:
score: 0
Accepted
time: 177ms
memory: 32052kb
input:
100000 1 1 3 3 3 3 3 8 8 8 11 12 13 13 13 13 13 13 13 13 13 13 13 13 13 26 26 28 29 29 29 29 29 29 29 36 36 36 39 40 40 40 40 40 45 46 46 46 49 49 51 52 53 54 55 56 56 56 56 56 56 62 62 62 62 62 62 68 68 68 68 72 72 74 75 75 75 75 79 79 79 82 83 84 84 86 87 88 88 88 88 92 92 92 92 96 97 97 97 97 97 ...
output:
=1+2+1=3+4+5+6+7+3=8+9+10+8=11+11=12+12=13+14+15+16+17+18+19+20+21+22+23+24+25+13=26+27+26=28+28=29+30+31+32+33+34+35+29=36+37+38+36=39+39=40+41+42+43+44+40=45+45=46+47+48+46=49+50+49=51+51=52+52=53+53=54+54=55+55=56+57+58+59+60+61+56=62+63+64+65+66+67+62=68+69+70+71+68=72+73+72=74+74=75+76+77+78+75...
result:
ok 2040330 / 1967329 / 1829731
Test #35:
score: 0
Accepted
time: 158ms
memory: 30908kb
input:
100000 1 1 1 1 1 6 6 8 8 8 11 12 12 14 14 14 14 18 19 19 19 19 19 19 19 26 27 27 29 29 29 29 29 29 29 29 29 38 38 38 41 41 41 41 45 45 47 47 47 47 47 47 53 54 54 54 54 54 54 54 54 54 54 54 54 54 67 67 69 70 70 70 70 70 70 70 70 70 70 70 70 70 83 83 85 86 87 87 89 89 91 92 92 92 92 92 92 92 99 99 99 ...
output:
=1+2+3+4+5+1=6+7+6=8+9+10+8=11+11=12+13+12=14+15+16+17+14=18+18=19+20+21+22+23+24+25+19=26+26=27+28+27=29+30+31+32+33+34+35+36+37+29=38+39+40+38=41+42+43+44+41=45+46+45=47+48+49+50+51+52+47=53+53=54+55+56+57+58+59+60+61+62+63+64+65+66+54=67+68+67=69+69=70+71+72+73+74+75+76+77+78+79+80+81+82+70=83+84...
result:
ok 1628665 / 1514356 / 1703806
Test #36:
score: 0
Accepted
time: 175ms
memory: 32236kb
input:
100000 1 1 1 1 1 1 1 1 9 10 10 12 12 14 14 16 16 16 16 16 21 21 23 24 25 25 25 25 29 29 31 31 31 34 35 36 36 36 39 39 41 41 43 43 43 46 46 48 49 49 49 49 53 53 53 56 56 58 59 59 59 59 59 59 59 59 59 59 69 69 69 72 73 73 73 73 77 78 79 79 79 79 79 79 79 86 87 87 89 89 89 92 93 93 95 95 95 98 99 99 99...
output:
=1+2+3+4+5+6+7+8+1=9+9=10+11+10=12+13+12=14+15+14=16+17+18+19+20+16=21+22+21=23+23=24+24=25+26+27+28+25=29+30+29=31+32+33+31=34+34=35+35=36+37+38+36=39+40+39=41+42+41=43+44+45+43=46+47+46=48+48=49+50+51+52+49=53+54+55+53=56+57+56=58+58=59+60+61+62+63+64+65+66+67+68+59=69+70+71+69=72+72=73+74+75+76+7...
result:
ok 1706232 / 1850511 / 1942248
Test #37:
score: 0
Accepted
time: 176ms
memory: 30564kb
input:
100000 1 2 2 2 2 6 6 8 8 8 8 8 8 8 8 8 8 8 19 20 20 20 23 23 23 23 23 28 28 28 31 31 31 31 35 36 36 36 36 36 41 41 41 44 44 46 46 46 49 49 49 49 49 49 49 56 56 56 56 56 61 61 61 61 65 65 65 68 69 69 69 72 73 74 74 76 76 76 76 80 80 80 80 84 84 84 84 84 84 90 91 91 91 91 95 96 96 96 96 96 101 101 101...
output:
=1+1=2+3+4+5+2=6+7+6=8+9+10+11+12+13+14+15+16+17+18+8=19+19=20+21+22+20=23+24+25+26+27+23=28+29+30+28=31+32+33+34+31=35+35=36+37+38+39+40+36=41+42+43+41=44+45+44=46+47+48+46=49+50+51+52+53+54+55+49=56+57+58+59+60+56=61+62+63+64+61=65+66+67+65=68+68=69+70+71+69=72+72=73+73=74+75+74=76+77+78+79+76=80+...
result:
ok 2001330 / 2038731 / 2049827
Test #38:
score: 0
Accepted
time: 160ms
memory: 30896kb
input:
100000 1 1 3 3 5 5 7 7 9 10 11 11 13 13 13 16 16 18 19 19 21 21 23 23 23 23 23 23 29 30 30 30 30 30 35 35 35 38 39 39 39 42 42 44 45 46 46 46 46 50 50 52 52 52 52 56 57 58 59 60 61 61 61 64 65 65 65 65 69 70 71 71 73 74 74 74 74 78 78 78 81 82 83 83 85 86 86 86 89 89 89 92 92 92 95 95 95 98 99 100 1...
output:
=1+2+1=3+4+3=5+6+5=7+8+7=9+9=10+10=11+12+61805+61806+61807+61808+61809+61810+61811+61812+61813+61814+61815+61816+61817+61818+61819+61820+61821+61822+61823+61824+61825+61826+61827+61828+61829+61830+61831+61832+61833+61834+61835+61836+61837+61838+61839+61840+61841+61842+61843+61844+61845+61846+61847+6...
result:
ok 2059458 / 2023458 / 2012360
Test #39:
score: 0
Accepted
time: 154ms
memory: 29952kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 14 17 17 19 19 21 22 23 24 13 26 27 28 29 30 31 26 33 34 35 33 37 38 37 40 40 42 43 44 45 12 47 48 49 50 51 48 53 54 53 56 56 58 58 60 61 62 63 47 65 66 66 68 69 70 71 72 73 65 75 76 77 78 75 80 81 80 83 83 85 85 87 88 89 90 91 11 93 94 95 96 97 95 99 100 9...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1996856 / 1952142 / 1875778
Test #40:
score: 0
Accepted
time: 145ms
memory: 29700kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 13 16 16 18 18 20 21 22 23 24 25 26 12 28 29 30 31 32 33 34 35 28 37 38 39 40 37 42 43 42 45 45 47 48 49 50 51 52 53 54 55 56 57 58 11 60 61 62 63 64 65 61 67 68 69 67 71 71 73 73 75 76 77 78 79 80 81 82 83 60 85 86 86 88 89 90 91 92 93 94 95 96 85 98 99 100 1...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1742028 / 1723728 / 1705163
Test #41:
score: 0
Accepted
time: 140ms
memory: 30860kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 13 15 15 17 18 19 20 21 22 23 24 12 26 27 28 29 30 31 26 33 34 35 33 37 38 37 40 40 42 43 44 45 46 47 48 49 50 51 52 53 11 55 56 57 58 59 56 61 62 61 64 64 66 66 68 69 70 71 72 73 74 75 76 55 78 79 79 81 82 83 84 85 86 87 88 78 90 91 92 93 94 90 96 97 98 96 100 1...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1705163 / 1685222 / 1662573
Test #42:
score: 0
Accepted
time: 136ms
memory: 30276kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 12 22 23 24 25 22 27 28 27 30 30 32 32 34 35 36 37 38 39 40 41 42 43 44 45 11 47 48 49 50 48 52 52 54 54 56 57 58 59 60 61 62 63 64 47 66 67 68 69 70 71 72 73 74 66 76 77 78 79 76 81 82 81 84 84 86 86 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1640257 / 1616282 / 1591454
Test #43:
score: 0
Accepted
time: 126ms
memory: 30732kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 12 18 19 20 18 22 22 24 24 26 27 28 29 30 31 32 33 34 35 36 37 11 39 40 40 42 43 44 45 46 47 48 49 50 51 39 53 54 55 56 57 58 59 53 61 62 63 61 65 66 65 68 68 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 10 93 94 95 96 97 98 99 100 1...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1563885 / 1536087 / 1506761
Test #44:
score: 0
Accepted
time: 138ms
memory: 29968kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 14 17 17 19 19 13 22 23 23 25 22 27 28 27 30 30 32 32 34 12 36 37 38 38 37 41 42 41 44 44 46 36 48 49 50 49 52 52 48 55 56 56 55 59 59 61 61 63 64 65 66 67 11 69 70 71 72 72 71 75 76 75 78 78 80 70 82 83 83 85 85 82 88 89 89 88 92 92 94 94 96 97 69 99 100 1...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1876891 / 1854572 / 1831199
Test #45:
score: 0
Accepted
time: 134ms
memory: 29124kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 16 16 18 13 20 21 21 20 24 25 24 27 27 29 30 12 32 33 34 34 33 37 37 39 39 41 32 43 44 44 46 46 43 49 50 49 52 52 54 54 56 57 58 59 60 11 62 63 64 65 65 64 68 68 70 70 63 73 74 74 76 73 78 79 78 81 81 83 83 85 86 62 88 89 90 90 92 89 94 95 94 97 97 99 88 10...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1806351 / 1776068 / 1748864
Test #46:
score: 0
Accepted
time: 135ms
memory: 31004kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 16 16 13 19 20 19 22 22 24 24 26 12 28 29 30 29 32 32 34 28 36 37 37 39 36 41 42 41 44 44 46 47 48 49 50 51 11 53 54 55 56 55 58 58 60 54 62 63 64 62 66 67 66 69 69 71 72 73 53 75 76 77 78 76 80 80 82 82 84 75 86 87 87 89 89 86 92 93 94 92 96 96 98 98 100 1...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1721237 / 1690969 / 1659377
Test #47:
score: 0
Accepted
time: 136ms
memory: 30344kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 13 17 17 19 19 21 22 12 24 25 25 27 28 24 30 31 32 30 34 34 36 36 38 39 40 41 42 11 44 45 46 46 48 49 45 51 52 51 54 54 56 56 58 59 44 61 62 63 62 65 65 67 68 61 70 71 71 73 70 75 76 75 78 78 80 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 10 97 98 99 100 1...
output:
=1+1=2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+1...
result:
ok 1626655 / 1839006 / 1857204
Test #48:
score: 0
Accepted
time: 140ms
memory: 29636kb
input:
100000 1 1 3 4 5 1 7 8 9 7 11 11 13 13 15 1 17 18 17 20 20 22 23 17 25 25 27 28 25 30 31 30 33 33 35 36 1 38 39 38 41 41 43 44 38 46 47 48 46 50 51 50 53 53 55 38 57 58 59 57 61 61 63 63 65 57 67 67 69 70 67 72 73 72 75 75 77 77 79 80 1 82 82 84 84 86 87 82 89 90 91 89 93 94 93 96 96 98 82 100 101 1...
output:
=1+2+3+4+5+6+7+8+9+10+11+12+13+14+15+16+17+18+19+20+21+22+23+24+25+26+27+28+29+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+45+46+47+48+49+50+51+52+53+54+55+56+57+58+59+60+61+62+63+64+65+66+67+68+69+70+71+72+73+74+75+76+77+78+79+80+81+82+83+84+85+86+87+88+89+90+91+92+93+94+95+96+97+98+99+100+101+102...
result:
ok 1824475 / 1807572 / 1853889
Test #49:
score: 0
Accepted
time: 164ms
memory: 31152kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 23 23 22 28 22 30 21 32 33 32 32 21 37 20 39 40 40 42 39 44 39 20 47 47 19 50 51 52 52 54 51 56 51 50 59 59 61 50 19 64 64 18 67 68 69 70 70 72 69 74 69 68 77 77 79 68 67 82 83 83 82 82 67 88 18 90 90 92 17 94 95 96 97 98 98 97 97...
output:
=1+1=2+64001+64002+64003+64004+64005+64006+64007+64008+64009+64010+64011+64012+64013+64014+64015+64016+64017+64018+64019+64020+64021+64022+64023+64024+64025+64026+64027+64028+64029+64030+64031+64032+64033+64034+64035+64036+64037+64038+64039+64040+64041+64042+64043+64044+64045+64046+64047+64048+64049...
result:
ok 1972135 / 2007361 / 1998444
Test #50:
score: 0
Accepted
time: 158ms
memory: 30072kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 44 43 42 42 41 41 40 52 40 39 55 55 39 38 59 60 59 38 37 64 65 66 65 64 37 36 71 72 73 73 72 71 71 36 35 80 81 82 83 82 81 81 80 80 35 35 34 92 93 94 95 96 95 94 93 93 92...
output:
=1+1=2+80001+80002+80003+80004+80005+80006+80007+80008+80009+80010+80011+80012+80013+80014+80015+80016+80017+80018+80019+80020+80021+80022+80023+80024+80025+80026+80027+80028+80029+80030+80031+80032+80033+80034+80035+80036+80037+80038+80039+80040+80041+80042+80043+80044+80045+80046+80047+80048+80049...
result:
ok 1881957 / 1841936 / 1934306
Test #51:
score: 0
Accepted
time: 175ms
memory: 31100kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 14 14 14 14 14 14 14 14 13 25 25 25 25 25 25 13 13 13 13 12 36 37 37 37 37 37 37 37 36 45 45 45 36 36 36 36 12 12 12 12 12 12 11 59 60 61 61 61 61 61 61 61 60 69 69 69 60 60 60 60 60 59 78 78 78 78 78 78 78 78 78 78 78 59 59 59 59 59 59 59 11 11 11 11 11 11...
output:
=1+50001+50002+50003+50004+50005+50006+50007+50008+50009+50010+50011+50012+50013+50014+50015+50016+50017+50018+50019+50020+50021+50022+50023+50024+50025+50026+50027+50028+50029+50030+50031+50032+50033+50034+50035+50036+50037+50038+50039+50040+50041+50042+50043+50044+50045+50046+50047+50048+50049+500...
result:
ok 2188979 / 2164155 / 2213651
Test #52:
score: 0
Accepted
time: 188ms
memory: 30740kb
input:
100000 1 2 3 4 5 6 7 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9...
output:
=1+50001+50002+50003+50004+50005+50006+50007+50008+50009+50010+50011+50012+50013+50014+50015+50016+50017+50018+50019+50020+50021+50022+50023+50024+50025+50026+50027+50028+50029+50030+50031+50032+50033+50034+50035+50036+50037+50038+50039+50040+50041+50042+50043+50044+50045+50046+50047+50048+50049+500...
result:
ok 2057732 / 2138589 / 2144199
Test #53:
score: 0
Accepted
time: 189ms
memory: 32444kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 11 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 59 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11...
output:
=1+50001+50002+50003+50004+50005+50006+50007+50008+50009+50010+50011+50012+50013+50014+50015+50016+50017+50018+50019+50020+50021+50022+50023+50024+50025+50026+50027+50028+50029+50030+50031+50032+50033+50034+50035+50036+50037+50038+50039+50040+50041+50042+50043+50044+50045+50046+50047+50048+50049+500...
result:
ok 2151743 / 2117684 / 2128283
Test #54:
score: 0
Accepted
time: 180ms
memory: 32376kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 11 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 10 97 98 98 98 98...
output:
=1+49996+49997+49998+49999+50000+50001+50002+50003+50004+50005+50006+50007+50008+50009+50010+50011+50012+50013+50014+50015+50016+50017+50018+50019+50020+50021+50022+50023+50024+50025+50026+50027+50028+50029+50030+50031+50032+50033+50034+50035+50036+50037+50038+50039+50040+50041+50042+50043+50044+500...
result:
ok 2141775 / 2188087 / 2120050
Test #55:
score: 0
Accepted
time: 181ms
memory: 31608kb
input:
100000 1 2 3 4 5 6 7 8 9 10 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 10 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87...
output:
=1+49991+49992+49993+49994+49995+49996+49997+49998+49999+50000+50001+50002+50003+50004+50005+50006+50007+50008+50009+50010+50011+50012+50013+50014+50015+50016+50017+50018+50019+50020+50021+50022+50023+50024+50025+50026+50027+50028+50029+50030+50031+50032+50033+50034+50035+50036+50037+50038+50039+500...
result:
ok 2133208 / 2165811 / 2197326