憧憬成为魔法表王
  • 板块灌水区
  • 楼主Rolen
  • 当前回复2
  • 已保存回复2
  • 发布时间2024/8/26 11:08
  • 上次更新2024/8/26 14:22:00
查看原帖
憧憬成为魔法表王
730113
Rolen楼主2024/8/26 11:08

This

改成了这样

#include<iostream>
#include<vector>
#include<queue>
#include <climits>
#include<time.h>
using namespace std;
#define ll int
#define pb(x,y,w) e[x].push_back({y,w})
ll n,p,r,s,to,val,o;
ll u,v,w;
string as;
struct node{
	ll to,v;
};
vector<node>e[30004];
priority_queue<pair<ll,ll>,vector<pair<ll,ll> >,greater<pair<ll,ll> > >q;
ll f[30004]={0,-5299911,-2714267,-2151505,-5062652,-10253840,-11454559,-9819748,-3187372,-8340451,-1561410,-4236445,-6072972,-11221354,-12615740,-10896329,-549645,-8674198,-14058905,-13161414,-8436613,-13297102,-13035642,-1059229,-2524054,-10727848,-12014021,-1341148,-14015799,-7851782,-1305111,-14104853,-13941770,0,-1303299,-4317595,-11328334,-6666277,-5543781,-3484108,-10912240,-7747432,-11974916,-4952615,-4274515,-6242791,-9725356,-9043232,-6441673,0,-12448793,-3585390,-10336064,-9813196,-5037677,-9961191,-6875028,-2245997,-1886836,-5302268,-9519570,-6979180,-9447507,-8536385,-2410013,-9794243,-4588810,-4682803,-13128017,-3685327,-6987026,-3826034,-2256093,-5517278,-10328921,-9380273,-1173009,-13663120,-4947170,-5620416,-12582650,-6741560,-3134789,-4701344,-11058333,-8875022,-11763989,0,-1506378,-7995515,-2397252,-1053273,-10925895,-305525,-4985228,-2983531,-13461715,-12542903,-7705316,-5002501,-12434802,-10670640,-244243,-5887741,-1070614,-8280559,-6961056,-3895548,-1698481,-7159400,-9597207,-4111143,-11617527,-145881,-9182272,-12467843,-10341489,-10364227,-1264410,-12604220,-7823927,-9633065,-1002369,-9845701,-11308022,-392706,-4726185,-8295008,-4945559,-13311460,-3713188,-7235804,-5292449,-7725657,-2418905,-11936798,-1284300,-9380870,-10405175,-2141000,-25051,-5191295,-5794059,-8637587,-11053733,-5476334,-5699308,-3876876,-9002853,-11457705,-1841035,-61422,-1067781,-9653438,-5421524,-134627,-897794,0,-7137458,-13671997,-10386558,-8753506,-9657928,-12281780,-194586,-5642534,-1639687,-10170164,-4957215,0,-1914732,-2903688,-4400454,-9188058,-13003509,-679146,-1391229,-7857313,-7443010,-7310129,-2758516,0,-1082932,-13638709,-11130638,-13922854,-10128438,-7701017,-10916645,-3957459,-11758505,-5278516,-8023688,-10160691,-5052824,-5855980,-10724554,-9450489,-6235520,-58639,-11813930,0,-5768375,-12323565,-5922716,-848323,-10040057,-3751331,-1653697,-8591599,-3709378,-13272949,-7557432,-7770530,0,-9933897,-12466783,-3700874,-9386803,-12499868,-13449915,-10281937,-5853752,-12123365,-919944,-7155443,-12150036,-1510984,-7008937,-9834652,-6644621,-1048630,-3715438,-9653406,-2885914,-6743486,-3340646,-8637151,-2248831,-5514663,-8353731,-548167,-779417,-2766219,-12520487,-2720147,-5129363,-10313612,-13399119,-9603940,-8908789,-3778397,-11129877,-4921008,-14112948,-4230876,-12508472,-4940792,0,0,-2878115,-13447970,-12709139,-10346540,-4851953,-8489432,-6120482,-10299501,-13114569,-1011800,-12674847,-7081335,-5947772,-7021807,-5251695,-5048610,-8550876,-1790707,-6171131,-46157,-1313040,-13639557,-4473761,-1706834,-2962633,-4312410,-9808787,-8667538,0,-8910272,-1683477,-3414712,-864183,-8758274,-8906722,0,-4717431,-2700776,-11458474,-2061009,-7152942,-7082688,0,-9709658,-9860800,-10330669,-13421305,-2233991,-6532022,-9204844,-11841747,-7071768,-3870180,-1331639,-3764134,-1309523,-5594325,-9392400,-10328194,-1332575,-6835849,-3615562,-436819,-3584401,-10424599,-12000584,-3109877,-1517965,-5062927,0,-7772096,-5316120,-5575359,-12842150,-9917001,-2090714,-11833147,-7870295,-10297346,-7837316,-11918507,-13981006,-727565,-8619998,-2726277,-3781894,-8362366,-12889507,-2784113,0,-6465750,-1853966,-12535432,-6606607,-12747909,-10093614,-869767,-1690324,-11910198,-4081238,-7756993,-206255,-6745697,-1138819,-1883808,-10269433,-7573865,-8516742,-66658,-8371553,-946532,-7801890,-1007394,-2790145,-10277542,-8614842,-9581932,-7022464,0,-6531458,-7735363,-10343502,-5858558,-9240504,-10157535,-13159034,-9377647,-13097551,-12066097,-6327996,-3519647,-7644396,-2583721,-13966082,-8175924,-4707498,-10442926,-5244397,0,-9236026,-2890835,0,-6713432,-1336072,-4156078,-2422452,-3898281,-1938469,-1548108,-3144037,0,-11161404,-9457788,-7373110,-11151758,-1893777,-6344673,-7458983,-8101375,-9592123,-10271122,-8291847,-9854659,-10153949,-8888676,-7128372,-10252397,-11356112,-13799300,-8265710,-12107287,-13565215,-4216974,-8574265,0,-177027,-3653461,-6267598,-7568538,-1409458,-4816282,-13730268,-8596942,-2133013,0,-12602592,-1365058,-13671246,-6011986,-4490796,0,-10262409,-9036298,-8771705,-9192244,-11430138,-9180167,-1889087,-218792,-12154349,-6496136,-10113727,-5810993,0,-5162771,-3894923,-9803620,-4331000,-6012145,-9640231,-7667783,-11179695,-5297162,-3335753,-1015036,-4849647,-4738117,-12277867,-713497,-9535171,-7079702,-2713131,-8840945,-9432358,-9486690,-5676419,-6408880,-12527471,-1644428,-7276035,-11347516,-10671464,-9288766,-11799860,-1073955,-11305787,-6590075,-3004207,-5700704,-6881871,-849964,-5626799,-10016084,-6462997,-11891535,-6945837,-11851477,-7337127,-5837359,-9037400,-13777058,-6937569,-8403642,-3615279,-8144869,0,-653950,-9121828,-6028665,-12000153,-9726938,-579862,-426267,-5625094,-2898015,-11802086,-110679,-8290412,-3067470,-9205774,-2264685,-9581949,-2254340,-8435679,-11815176,-2893892,-12431657,-1107734,-9390375,-284444,-1877172,-7771777,-8168371,-7010128,0,-12439614,-1658722,-12644713,-3008097,-578502,-2267521,-3895288,-3106419,-10094220,0,-2411896,-13257447,-3631866,-9939821,-10029036,-13263116,-2328119,-7034423,-1210624,-1450406,-6877678,0,-2956419,-8474392,-1062487,-2757494,0,-9182973,-9914892,-3134175,0,-8944319,-1138812,-3757895,-12637761,-12161678,-9500276,-10325928,-9999751,-10793249,-1133530,-75001,-3473403,-8318393,-13419533,-9378198,-1526059,-2003720,-94343,-6234716,-5033409,-380092,-9542821,-2948321,-12302358,-332522,-1537244,-2297643,-11396692,-8817377,-11686437,-13327686,-3786544,-1341311,-8499742,-4064812,-5758354,-4232759,-1895546,-1246692,-7362149,-5224452,-769342,-9902088,-4821166,-8306851,-9662954,-7055578,-1155143,-1452470,-2204180,-3571942,-3185266,-7090330,-2004761,-9837775,-12232257,-12833189,-6579511,-1645850,-9820962,0,-11803725,-2242508,-10327378,-9887239,-12487371,-3308560,-13876820,-11410142,-13030631,-3022821,-10282628,-866691,-12805965,-692233,-12899828,-7705870,-13117407,-12303313,-8607553,-12153249,-62592,-11605091,-42479,-11920322,-4882936,-1452737,-11309724,-11144721,-11794666,-8858639,-3886084,-6785579,-5037427,-1169762,-3749123,-9662586,-9816613,-9728128,-959715,-747024,-7604346,-13133377,-272895,-8521582,0,-7002153,-2846714,-8294952,-13588391,-8892052,-2763024,-10294434,0,-678979,-5919135,-13347878,-11824500,-2524015,-4825144,-1528569,-9503489,-11365072,-266216,-6128634,-2880487,-3584514,-5846204,-555581,-7037914,-13195839,-11157103,0,0,-7779549,-2310482,-1302273,-50219,-13997524,-3407452,-10112305,-41813,-2237078,-7703390,-648899,-2738884,-7605196,-3724480,-6708688,-10511896,-14062952,-9372342,-3345521,-4824858,-10993620,-1525598,-1268087,-567583,-8768479,-2652541,-6228436,-2302121,-3700487,-2035666,-4622249,-6967190,-1040783,-5250625,-11007248,-8296542,-9738375,-13573084,-937522,-10350486,-11769042,-4825163,-26897,-6444760,-8148168,-13176243,-12563813,-5026049,-13133350,-10423150,-9372655,-13819151,-5443073,-8101729,-1919887,-6451131,-6432565,-8515390,-5811820,0,-2783357,0,-12430069,-1455386,-2366958,-7382347,-10435071,-12554687,-4855250,-5136007,-1308795,-13949672,-11030722,-6442426,-1929039,-2046529,-10480851,-13964785,-10244225,-8601808,0,-3143532,-146747,-882096,-12455209,-7731099,-183420,-10339609,-8272686,-8301455,-7342825,-1542418,-13829426,-12532378,0,-9044022,-294150,-5750631,-8556955,-8492044,-7735793,-1329342,-1341287,-8258846,-11354099,-2531294,-4931338,-6477202,-1804316,-8108165,-3099808,-130606,-7096582,-4094407,-1920385,-6055893,-13074853,-4285176,0,-4833819,-4312279,-7912801,-12700707,-13055252,-11461931,0,-2903246,-1012755,-5021012,-9460344,-4906387,-5588066,-7629399,-11967000,-9430193,-1367505,-10311289,-10327900,-857787,-10366080,-13623292,-12443252,0,-4149791,-7284323,-11456794,-6447276,-9468016,-9927789,-1132485,-7218846,-6446121,-11763444,-2514061,-1022800,-9341438,-1692721,-3720978,-2543224,-70453,-11303243,-11050245,-2146137,-1927807,-8502035,-1956321,-3877054,-10705029,-5735192,-9664477,-13091838,-7028611,-76135,-9108013,-1840683,-4912609,-7237093,-10292583,-1806377,-5824544,-12627456,-10239073,-7752333,-3765029,-9430520,-13792371,0,-6498836,-11599940,-1464232,-13683841,-2083222,-6887233,-1632711,-3219484,-13460503,-2945923,-13139542,-9117098,-12986452,-8161898,-1281446,-10259920,-5426034,-8540660,0,-557618,-511341,-8332398,-5858236,-6180711,-5643271,-4142637,-8535933,-1079870,-13012133,-6735863,-1785207,-433370,0,-4831942,-2196079,-10003373,-7700109,-8504828,-4122375,-2342590,-4281818,-12334952,-2050760,-7126990,-7135783,-11943500,-7807983,-1216740,-11790258,-9916353,-11397893,-848364,-2155716,-180664,-4857678,-1580461,-4826891,-3185092,-11762086,-4792559,-566495,-2213950,-6002068,-8588058,-2888859,-1282866,-12463145,-9927860,-12467247,-5888460,-8324473,-2404386,-10278430,-13382724,-4596619,-11884714,-5013128,-2762247,-8344608,-12894916,-7722995,-13390269,-1535741,-8475954,-1900360,-13994406,-1682166,-7054957,-2710589,-2130978,-4912993,0,-4543848,-1067067,-4275224,-4878738,-4900629,-1227958,-3385708,-11611651,-1896021,-1889841,-7693523,-8387290,-1473900,-2910803,-6499700,-9244002,-8108086,-4114377,-10297541,-13027167,-5642330,-1197208,-12945035,-13661089,-5855816,0,-9389546,-7973890,-6346900,-5423665,-2105100,-9417463,-11044735,-5065960,-1206788,-10329433,-7086667,-3309230,-2751012,-8952000,-12049602,-2199486,-13825309,-13295749,-1266976,-2198592,-4103881,-1203599,-27461,-4179801,-10234498,-5787535,-4296732,-7081657,-3513737,-433582,-12494297,-11757517,-6576700,-12611213,-5561273,-11449863,-11890853,-1380090,-3347560,-12902254,-10770596,-11239909,-8141534,-7770218,-4714495,-13150398,-12494841,-13483495,-7831728,-13495190,-6670040,-10295435,-1546021,-5292457,-2236184,-3467482,-13927462,-7142811,-12555517,-3627242,-13791587,-2309116,-11181696,-6109418,-9842392,-11449469,-9608526,-4625883,-9216374,-10307760,-3785515,-8392970,-428911,-8830783,-5850553,-1190178,-13668502,-2918404,-1911340,-10388055,-9193535,-5624575,-4486312,-13557515,-1194133,-4316543,-4222826,-11749912,-1065944,-2117214,-12524358,-3760305,0,-3750650,-9917934,-445887,-2781830,-5332099,-1675089,-7113948,-5960175,-12912556,-2263138,-13890512,0,-5716708,-13075750,-8490986,-13288795,-3650278,-12999151,-1227374,-6681594,-3831435,-4864440,-9393219,-6865518,-9054090,-12443983,-6772816,-10362802,-10257737,-8001660,-3703431,-13335351,-12462839,-8537867,-4497226,-8712180,-5033020,-11452560,-5953749,-10354750,-5259597,-6345841,-8347829,-6425234,-13262734,-7055994,-4058182,-11871863,-7713464,-5030082,-10418497,-2736337,-12444251,-7064398,-11736167,-13239088,-8125365,-7119093,-10697490,-9498341,-13408580,-8411156,-6028814,-11743110,-6428860,-1627483,0,-7392441,-11451573,-4978282,-8589712,-8957948,-2582741,-9431635,-7444717,-8538164,-1476611,-1615433,-4822984,-951754,-5336485,0,-8269441,-5138910,-6608894,-8841442,-6329958,-2876047,-11896121,-4158506,-6466461,-3425053,-7379868,-5068523,-10100029,-9725571,-9466848,-4204230,-8540648,-5518094,-11879073,-7761722,-9523798,-8539547,-13845006,-9824006,-9190415,-3280344,-9430479,-6668162,-8180453,-6676553,-3115370,-2702930,-911410,-5647981,-1158972,-12545056,-3721067,-7092400,0,-10004971,-1309311,-6479314,-6325745,-7641497,-10168282,-4229848,-11893191,-1109323,-3797459,-12466534,-3412411,-8646327,-889704,0,-11300830,-7917009,-11913592,-10742013,-3427860,0,-5679828,-8530497,-9718511,-9982339,-7854704,-2545645,-8527975,-5420564,-10018365,-3710782,-1909703,-6399427,-5542612,-2519567,-6802930,-5137396,-4128917,-13960234,-10467026,-3795317,-6322949,-11156723,-10744122,-60107,-9645600,-5423806,-794855,-8278753,-7377733,-1535176,-13842861,-11773941,-13645826,-7330293,-12274307,-552133,-4076050,-13326691,-2765947,-709456,-3533414,-8542556,-8939368,-10300539,-13700906,-1723268,-8528654,-5404532,-3852304,-1094252,-7758527,-13639634,-13735568,-5681401,-1066433,-8480715,-6585858,-13354284,-4918941,-11897691,-4699939,-12468443,-8537774,-5813551,-2117154,-10352325,-1370728,-10577457,-9238552,-2271373,-7085437,-2948894,-5184055,-3642554,-11062520,-7720483,-4828394,-7881042,-13221821,-10505183,-2977232,-9186775,-1927924,-1914577,-2198720,-5073038,-9916899,-11361530,-148803,-11461031,-8157230,-13324734,-13822370,-5624293,-10369757,-13303356,-8168223,-13927606,-4147106,-5099096,-4713087,-39895,0,-846686,-3906544,-7333239,-12291952,0,-8362516,-8394912,-1052006,-1012090,-12947034,-1670331,-3446794,-387768,-1913805,-14089165,-7025843,-1188336,-13670395,-12580665,-1104553,-8315183,-8291746,-12188855,-13347333,-9525039,-2699674,-13318845,-12608607,-2807617,-10790806,-10153430,-2854231,-7091294,-1428607,-10415932,-12522320,-10641188,-11590845,-3132852,-9381329,-2544476,-4472335,0,-5558834,-12995863,-4480630,-2252052,-7843810,-1610479,-9872271,-5046630,-7674090,-1707953,-2235580,-4682779,-5792344,-5429109,-10340382,-9187587,-13682350,-12300413,-13259223,-1997120,-4262413,-5220687,-60264,-6250479,-12524386,-1235705,-5760680,-13148901,-4697279,-9415883,-8642418,-43310,-13071086,-1555349,-4320349,-8344847,-13288628,-8647802,-4335426,-7157662,-4664184,-1101960,-12459442,-1364595,-7047047,-2671753,-11838309,0,-13159942,-1121153,-3600868,-2234480,-11847604,-683667,-12131115,-7695793,-9420219,-11845110,-4949572,-6400317,-271225,-594231,-10061930,-13962452,-1889987,-9807059,0,-7705753,-8405376,-7025688,-6268146,-5961993,-4790736,-10346766,-1616262,-5860565,-2913206,-6034700,-4941821,-12562401,-13820809,-4830845,-1270244,-12021752,-7073404,-8516123,-9664577,-6175942,-8285098,-10602788,-6970872,-6712893,-7356290,-4598948,-1447062,-13745881,-7916694,-3801447,-8264002,0,-7728697,-7036910,0,-5434425,-8932571,-7077396,-13626317,-1902779,-44287,-1558599,-10419767,-7221191,-8504935,-9662696,-8844662,-4146482,-9217519,-5017148,-2847581,-10995529,-4072943,-10201971,-7346161,-10387729,-3004687,-6030180,-12611070,-913880,-1199867,-8661086,-11875585,-3154020,-8174645,-10507857,-9200966,0,-9897009,-3149922,-10423325,-1531407,-10923285,-11818588,-11849728,-9338389,-3697713,-7568222,-6861200,-2940157,-9645747,-8079017,-10420964,-1061701,-12513844,-1167702,-1383949,-8233018,-10753718,-4625609,-3390166,-6512272,-1386815,-7695858,-5007258,-2303442,-11727061,0,-61002,-6672408,-8285797,-9491004,-13220544,-13332802,-7768014,-5559818,-13056980,-8527516,0,-857750,-12278980,-3409756,-9725123,-9337544,-1099000,-13144539,-10368360,-2715719,-11412865,-388384,-5580646,-4270967,-9409243,-11013715,-685628,-3719705,-1198152,-1450567,-9824263,-8898137,-2827402,-13873412,-6589131,-4344887,0,-1233042,-9799402,-8352917,-12123862,-9918727,-1661473,-10733520,-2584157,-5995757,-5508677,-12444033,-9372398,-4602788,-8624818,-8582730,-997300,-10350637,-1883469,-8561134,-4201464,-278713,-5655413,-13067895,-3967003,-5621139,-189860,-1059917,-11348231,-12545790,-5839886,-12072386,-5862458,-2048702,-11766848,-3626148,-5485338,-7424461,-1844110,-13181089,-4454099,-683250,-7975839,-12498484,-7838447,-8934990,-836588,-5312075,-5484228,-9493016,-2144524,-36576,-5876592,-1373927,-4205609,-12457249,-8342177,-11768705,-13316174,-218335,0,-4146596,-13030276,-7442314,-1097908,-8885755,-8188066,-2262075,-10299266,0,-8391825,-4710186,-8064761,-1335522,-9958866,-9207769,-10403624,-8519215,-8526655,-9532005,-1604083,-1016039,-8447318,-11334354,-8530866,-52138,-4808859,-12481131,-8296667,-1292308,-12622076,-1026734,-5256226,-5912217,-11278080,-2572188,-10107198,-13332777,-3688628,-1236357,-11892933,-9685873,-476006,-726294,-6257765,-7888580,-5746671,-9764171,-4593199,-12519748,-11770986,-5014500,-13801538,-364915,-9466418,-5020595,0,-2404410,-7091984,-12345183,-5016521,-4723167,-9643978,-6969568,-9908268,-2835056,-13304065,-340433,-10676141,-51906,-3532484,-9454640,-6230501,-1437072,-4667088,-11774834,-4800784,-11512969,-11053437,-6815727,-3050091,-8375967,-3601517,-8656780,-8999945,-3346495,-10282532,-1686356,-5410895,-315216,-5499558,-13030921,0,-6464032,-9373648,0,-8389968,-664797,-5389498,-10359084,-13653035,-1028188,-6090784,-3937551,-1549609,-5878894,-3707697,-3757869,-3111208,-2540343,-5241103,-11354901,-10123214,-5208791,-7189418,-7842888,0,-2855476,-7276362,-11429181,-8630344,-2916588,-2236240,-11649403,-1561779,-7825297,-1014223,-11327134,-1719893,-11211622,-7684491,-5110537,-1008908,-8456720,-5922695,-8180094,-2930174,-3089510,-7480821,-10249217,-593651,-7912241,0,-3090557,-1323071,-8181036,-12457485,-1063158,-2735783,-5445939,0,-5812451,-2522898,-12031689,-5436935,-1784829,0,-5363429,-10012669,-1195343,-10770458,-12464744,-1542688,-1112541,-4944964,-11356415,-1519250,-10452957,-2816583,-13723518,-9385130,-27970,-4232182,-10502642,-10381586,-5491549,-2234868,-10244517,-1470452,-6896633,-13704691,-8335735,-12949520,-7715357,-9386790,-4821073,-13147495,-12334946,-1992211,-2223983,-12955007,-1305659,-4268619,-5642244,-5139593,-6758592,-1925657,-12830211,-12457000,-6120479,-2733869,-12614048,-11882429,-4459262,-4492453,-25404,-3600687,-482859,-2828690,-9914811,-655211,-9940876,-4213642,-1307576,-3762629,-2283419,-2726831,-2210027,-6441752,-1179991,-12730243,0,-2945050,0,-13963839,-11718571,-4329902,-88676,-10363685,-14033620,-9179295,-12519225,-13440307,-12996499,-1883709,-2914572,-4842463,-8149016,-904218,-8299591,-13924384,-5863813,-11452128,-2120986,-6722206,-13678084,-1285048,-2504444,-4167234,-6686915,0,-1072237,-2733952,-12103639,-1101050,-4663832,-13080313,-1120477,-3631933,-9711602,-4917894,-4994769,-12159095,-9789013,-1519540,-2130255,-2699504,-10366277,-35100,-5632723,-3702344,-1272561,0,-753858,-10210331,-6614414,-6526628,-657004,0,-11221117,-5411057,-421584,-9043315,-4676368,-11867965,-5874500,-11310463,-12991513,-5254664,-199243,-600899,-6182074,-5852066,-14107189,-3974668,-4977504,-5048050,-2402871,-6691012,-5766261,-7436980,-3736895,-10239361,-3481508,-13806303,-1254611,-8632892,-5921860,-2382974,0,-1659184,-13998140,-1224649,-6660621,-7595712,-5431967,-7510364,-10418672,-3899772,-242495,-7128826,-13642160,-2740903,-2231234,-2691256,-2895790,-10364384,0,-9645361,-4059950,-2794552,-7734955,-11888146,-9902591,-10115388,-4834307,-13294760,-13737124,-5887074,-11149261,-3412454,-4919194,-13896619,-3774520,-3844573,-6606592,-8340541,-11600793,-6914881,-13115778,-12044781,-2966596,-4112511,-8301139,-13161710,-2232684,-12099040,-1859834,-3738400,-3597744,-1906003,-1334034,-13331731,-6255314,-7773122,-1280274,-1605766,-8050979,-9392935,-8398727,-1556999,-5061264,-9789032,-3408246,-6440340,-7731439,-1073975,-2878790,-10052872,-7009643,-3323179,-5756789,-10838938,-1473277,-4623182,-11757010,-10409981,-8540018,-5056158,-146219,-8537404,-10702092,-1379450,0,-13983684,-1183423,-10093723,-7763820,-8297589,-10410103,-12538025,-12610463,-683633,-3690041,-3779646,-12443424,-580325,-9178305,-3726286,-1207538,-133421,-11345757,-8890984,-7737598,-14008047,-3573328,-6663637,-6785195,-11289637,-12569203,-3734227,0,-11327771,-10913602,-10815678,-1439908,-1239563,-7773875,-3715313,0,-1066527,-4245894,-1213057,-4997882,-10789910,-5441928,-13165639,-7696323,-9787774,-4319614,-917016,0,-6872295,-7089410,-8503949,-7009693,-11024711,-11814811,-13731992,-1258601,-3631203,-5291080,-13695301,-10239943,-10333535,-7346659,-7309580,-254462,-10272731,-13989285,-4887315,-10659370,-683540,-3662601,-10575561,-7724507,-2534483,-4527490,-8146588,-9268196,-12597329,-985326,-10250272,-5259403,-1368033,-8371933,-12611422,-5061877,-9900514,-4591825,-2792442,-12367619,-2131338,-1897330,-624214,-9803532,-1055350,-1117209,-13834274,-161370,-8388399,-8572344,-10462594,-13118250,-10300068,-1911337,-4330132,-2774403,-8363592,-3725644,-12015498,-4301272,-5953107,-1464735,-4940701,-9869132,-13758681,-2340602,-12894680,-7090936,-12441250,-1435172,-1887266,-8894997,-7345855,-11577949,-10283409,-10292808,-10252863,-9183546,0,-1412178,-6964622,-13443874,-10465742,-10389536,-9715837,-11323050,-10257683,-9650264,-5500046,-7542121,-5726950,-1369847,-9343722,-6939296,-8125906,-9667735,-5695636,-2943586,-5880121,-8869235,-9456214,-3757429,-13384588,-10992564,-5318654,-12352375,-6733111,-864417,-9808615,-1998403,-13167998,0,-3495259,-7711234,-1304779,-13645594,-616414,-3293242,-6158369,-3734768,-8399993,-11339852,-11778719,-9958721,0,-2958921,-11779629,-13357513,-6592941,-4912317,-1518657,-9538530,-1689365,-8329171,-4172328,-12841021,-3633153,-2107300,-13468918,0,-11221636,-4970790,-2251815,-3193379,-8543255,-2186302,-3042751,-14055562,-7593402,0,-11738211,-1168499,-1153338,-4864026,-12497756,-8507989,-2065315,-1707484,-8270540,-2872996,-10094914,-428701,-7140195,-734704,-1450135,-13081536,-12988255,-11071580,-9709890,-4592916,0,-6013805,-10782528,-4066353,-7136898,-7174583,-1309606,-12600212,0,-12103194,-6546988,-8651041,-4708715,-5969359,-1571065,-2776722,-4944794,-2685803,-12983208,-12838829,-3625142,-8672333,-11597248,-5314754,-1932033,-8347616,-9531118,-6671621,-5030131,-699632,-1654012,-9523603,-13997306,-11730462,-10018616,-682014,-5212815,-2965894,-2816015,-9374073,-9001545,-7106493,-13134725,-1326859,-10100444,-3733346,-2767979,-2623726,-4622047,-2883670,-3109728,-45718,-4651968,-13126490,-11367164,-6687039,-3236527,-13983659,-10355008,-10014477,-10322084,0,-9721600,-1010804,-9649490,-7835910,-12844615,-8371103,-2573347,-2915698,-9575194,-3732151,-8164668,-9899223,-1230613,-481242,-2240768,-1451509,-1916329,-3298147,-9905126,-13726687,-4267627,-12465545,-8307785,-3112056,-7648371,-4886089,-13447918,-3640883,-718738,-960787,-1167563,-5642774,-9617371,-12725744,-10521944,-231457,-1882843,-198804,0,-3221275,-9051324,-9783804,-12562258,-3749216,-7526,-9718983,-4322022,-3662442,-2750369,-3649969,-1592149,-7273824,-8500229,-7974542,-5562384,-6028325,-10337924,-3755471,-10784624,-9711002,-2283852,-6798894,0,-5377685,-10206506,-13325848,-2979184,-9902706,-6331234,0,-7823548,-4151104,-1214484,-1369186,-12013821,-2252118,-6756520,-10500834,-5244325,-6127749,-5416974,-10394881,-12602840,-3681458,-11135297,-11794917,-12749554,-8111795,-10320007,-11091284,-12682183,-3102109,-11038238,-9840333,-6693526,-10417455,-52486,-8652445,-1003912,-10119400,-5149636,-6254885,-5417272,-13637391,-9798820,-3424780,-1915033,-10163138,-43506,-8629286,-13805602,-7560158,-7018178,-642300,-1489003,-4317611,-334023,0,-1275010,-4531769,-1697435,-11673802,-7759939,-4688635,-12342461,-13028525,-13883254,-13121403,-631659,-2198540,-5847324,-6186369,-8946323,-1916350,-1166037,-12043656,-5846733,-1199544,-7686590,-569557,-4536485,-4804551,-1113848,-4590614,-4989655,-1296060,-4079484,-7814405,-4822685,-4135525,-13554578,-2745943,-2310374,-11840336,-4829456,-5970403,-4453236,-9001608,-8499128,-5854949,-5149396,-2244075,-1499571,-7963691,-671186,-5846303,-753826,-7213499,-8114939,-2917279,-559357,-10468450,-1844157,-11361363,-8406496,-2129962,-4803931,0,-7734951,0,-11346237,-4240181,0,-5183311,-13369995,-7738115,-570406,-2685659,-5533851,-6159730,-8525292,-1242877,-9401033,-8386603,-9477503,-2787237,-1558918,-6948295,-3606090,-10838692,-7083183,-3721672,0,-9019148,-3118528,-7236369,-7117599,-10517185,-9139327,-2735387,-8490233,-4985226,-4891844,0,-1410892,-10435126,-4050330,-13093022,-2305607,-3424856,-9939155,-10191040,-10827335,-5964355,-1447397,-2135654,-5478023,-483255,-1456455,-4063518,-8109501,-2237079,-13293124,-7529390,-9813771,-6282230,-3059351,-4840284,-9040610,-11934727,-7610328,-8341006,0,-7708472,-1923234,-6642965,-9533430,-8495975,-3455465,-4156990,-4830038,-4059825,-619395,-12873797,-11927400,-3096114,-11217301,-9125284,-8407728,-4983123,-4718598,-13747048,-7239206,-8148901,0,0,-1357623,-6935235,-10391755,-8517086,-13955590,-1204776,-11043430,-10230185,0,-7725609,-13571904,-6250479,-3947508,-3801924,-6878784,-7089096,-6445250,-2042218,-8114583,-4537615,-8467238,-6876919,-4850491,-9706182,-3007923,-5805088,-7191403,0,-499798,-9333979,-1070077,-4139887,-2749094,-2883575,-5540783,-5722456,-9738788,-1047177,-7872816,-1292615,-7743617,-9791493,-2732540,-6334026,-185038,-605076,-2890173,-7610694,-10504200,-6887816,-2752198,-8240089,-7121137,-6740094,-2875417,-11234487,-9907168,-12638868,0,-10567587,-12495924,-3524440,-4150825,-877130,-8375560,-48368,-12598372,-8788540,-7260594,-9803443,-3214241,-8524632,-13361058,-1833715,-9187239,-11778435,-9048502,-3929834,-9453663,-12805844,-2861222,0,-6868117,-1931433,-13336350,-1311670,0,-8588642,-13263083,-13155890,-1204345,-1509480,-1068056,-1323572,-12687417,-4712327,-6393143,-7272202,-7956089,-8235749,-8515957,-3382573,-2298785,-8494426,0,-5031585,-5309907,-11352917,-9866770,-11890606,0,-13392773,-5291856,-13026535,-11952523,-13136517,-1357244,-2792747,-8689133,0,-1275569,-570555,-6588356,0,-1681620,-1276206,-10257635,-7337995,-4555613,-5652740,-7264010,0,-13524736,-11057260,-4717798,-13316545,-9818521,-1891632,-805283,-8371499,-11836880,-6410995,-55662,-1152571,-1554223,-11149768,-8048504,-7273635,-7741410,-9900420,-8643551,-4117200,-12469812,-4989225,-12495000,-13151913,-4656737,-3604806,-9880113,-7757246,-1424149,-10390278,-7145207,0,-7071093,-13112975,-7710512,-11765560,-13816810,-2944201,-6250662,-13307029,-1465810,-7522225,-8289940,-4196007,-2595023,-9864242,-7771162,-8292412,-7934791,-4987809,-8416161,-11775828,-2037742,-13267488,-2151179,-3544983,-5255564,-13656959,-8299309,-186114,-5886372,-11447785,-512002,-4282982,-13050057,-11626808,-2217120,-3596690,-12491786,-7121726,-7278751,-11595458,-35131,-6002614,-1207355,-1911223,-11773992,-2961458,-8149669,-8542763,-5551065,-4064950,-1204681,-6444814,-4607289,-7734135,-4208563,-7158327,-3917663,-445015,-13826164,-8502313,-3600071,-2568549,-42290,-13663186,-7783220,-8855782,-12532787,-1923758,-13647586,-13357940,-2862152,-9878632,-11665102,-8646037,-271504,-5418303,-8624206,-506416,-1351579,-10901095,-548698,-1309711,-6083911,-1582915,-12620854,-2723806,-8795016,-4857851,-7693461,-12004348,-12991981,-7882142,-7710466,-3451429,-13393891,-11771597,-13963553,0,-5836577,-12822586,-7528575,-10256374,-1540469,0,-6040471,-10355544,-10356984,-8544496,-13319913,-5093104,-10170498,-1506101,-9862618,-13338335,0,-2806868,-9180019,-7729647,0,-688479,-5850449,-12954239,-5709641,-8297431,-13646314,-11815975,-10383044,-7524250,-2272946,0,-1698431,-4132865,0,-487808,-8856247,-13139667,-28548,-6082124,-7857945,-8276955,-1386615,-1651737,-10358840,-7398310,-13550558,-11087014,-2881074,-7840836,-13292245,-2628025,-4711097,-679730,-12777125,-10998119,-8427251,-10353172,-13018595,-11470918,-8854906,-10356930,0,-11303775,-3097989,-3752013,-14002390,-10489649,-2250183,-3774551,-6004911,-8426943,-1813560,-10407455,-4939095,-8934677,-2402519,-8030178,0,-1644952,-4461313,-3614072,-8288619,-9831869,-2708310,-12602239,-3420789,-7709359,-13660764,-1344924,-3099410,-13963259,-8160111,-2415584,-1431350,-10372823,-2144395,-3109218,-8490956,-1921582,-465174,0,-1469110,-7275752,-7735109,-7934892,-1504836,-12610085,-13066751,-8045279,-5649851,-10294216,-12627650,-9887540,-8356238,0,-13955128,-13646298,-5473950,-5851470,-10800697,-7476779,-9711141,-12042662,-3587670,-1110542,-13238121,-12527468,-12741172,-1269807,-2646869,-6754435,-13778633,-7689673,-6989246,-1295423,-2551407,-13735592,-8162922,-10768064,-3442828,-12196044,-4085834,-1378051,-11551808,-10003285,-2845140,-9789904,-13745249,-13304411,-4808935,-2261232,-10201541,-13123640,-373709,-2737521,-9225920,-1394566,-10522832,0,-2571969,-1317134,-2997821,-1825891,-437971,-10977699,-10293125,-13167197,-8491919,-11458121,-8587471,-7069462,-9203509,-8363365,-4302990,-13370405,-9216724,-1158011,-8276588,-9431280,-8643266,-2534186,-6966843,-7697241,-6444394,-3304099,-14065097,-8616972,-2825142,-8999712,-631332,-738388,-11393509,-1307850,-13652430,-4719531,-3639008,-1398979,-13682399,-13388540,-11948560,-11372433,-13708366,-11188715,-11197628,-6646915,-9006928,-7459306,-4824563,-7732400,-13671761,-8137520,-4875513,-860861,-8287942,-465106,-12614281,-9929865,-1532138,-2127228,-12066115,-6828967,-11885110,-5599132,-4063581,-4951799,-10061776,-7336567,-9723260,-6646234,-2718150,-5260637,-1870884,-1947106,-13982617,-7266831,-13674880,-1661268,-5482780,-436694,-8772527,-9720136,-11361786,-5706830,-8857926,-4783011,-2802970,-9837499,-8237235,-13935940,-10014359,-13419449,-3235187,-12444663,-7149444,-2734558,-4136970,-10269420,-4317468,-4167612,-13869092,-12989889,-1144706,-5023261,-5622849,-4070813,-11941301,0,-7240328,-7237479,-13350199,-2930701,-2268945,-5857884,-3570778,-8964944,-8188992,-7757895,-3322084,-1885761,-5440129,-8364986,-5611862,-10256764,-2065844,-12343013,-11091124,-7867192,-5508837,-5866362,-7237821,-8632564,-1051038,-4814112,-10402236,-8385066,-1653011,-8650217,-698246,-2243433,-538660,0,-7101426,-8904285,-2916906,-9495802,-10157584,-2983080,-4873854,-22136,-2151315,-5078236,-13493712,-1437230,-3604174,-1528085,-10008638,-7068814,-12001665,-8620831,-8923420,-10343265,-2261105,-9834981,-4302541,-1649986,-8158195,-6967626,-1126221,-2818948,-9932418,-8665922,-13202332,-4118281,-11803142,-12543830,-14036776,-5161044,-8637671,-1392825,-5173513,-12891315,-10117243,-2865427,-6308272,-7184207,-10410459,-3673193,-2920367,-9024141,-4538010,-10334488,-7385301,-10779666,-4829800,-9716074,-2947102,-13682971,-8297980,-12307953,-10040624,-13134710,-6316341,-12341872,-13990721,-7678129,-8371741,-6653476,-10993851,-2715266,-3901349,-7944017,-6439896,-8394707,-5444111,-13396214,-9526364,-7059029,-3612412,-13132745,-5065545,-11989499,-10154403,-760614,-3154007,-9717533,-8596780,0,-7322273,-9528059,-13246743,-3754818,0,-8587303,-4824236,-3656090,-3485736,-2405539,-8153227,-11766163,-2320606,-1284762,-9608089,-5435474,-3278432,-8484197,-8254504,-3096148,-1093123,-3449016,-4587719,-840667,-2653919,-1409576,-14065914,-2023815,-6123388,-3638878,-12490935,-13285923,-11000273,-8645938,-371501,-10355265,-2003204,-4307615,-1446224,-11478914,-11787718,-2748573,-1698149,-8500952,-3592588,-1409317,-13075678,-1295530,-1076851,-10199911,0,-1710732,-3636185,-12446672,-436067,-6963338,-9428025,-12028876,-5507515,0,-8939134,-1398321,-13251228,-1183070,-5799382,-8294140,-10857185,-1378675,-530877,-8294791,-13333603,-8299384,-3890386,-9608343,-5800187,-13399607,-3687725,-2564809,-10068366,-1123763,-10996764,-7265008,-12417283,-8740427,-9835473,-1091074,-8112322,-6753767,-5035255,-6143677,0,-5441724,-12772001,-91769,-8674984,-9960199,-13840163,-11741540,-4462504,-8502581,-1196666,-1423085,-3974732,-2809476,-13068912,-6826049,-4134942,-3648881,-10257441,-5416084,-12270666,-12731558,-4500442,-5837524,-2917062,-11870797,-678416,-2697012,-9604074,-7879343,-3752784,-10432909,-2326012,-11965117,-10011100,-11439010,-9385741,0,-4924885,0,-12814946,-262892,-9659199,-8372586,-1100164,-7188905,-8499545,-12606120,-7067794,-3201030,-7070580,-7870203,-11354627,-778900,-13282008,-10498615,-1306015,-8175615,-4215776,-7023582,-9751682,-9644039,-13292126,-11809711,-6436222,-2772924,-2760410,-2892867,-7066451,-8295663,-3188329,-6255926,-8083886,-2753385,-10109189,-4624881,-12454645,-9728125,-1461437,-4998101,-13633974,-2992544,-2305656,-176582,-1137463,-11779401,-7747568,-3731282,-13390434,-12609404,-10285844,-4990653,-6973681,-12300031,-3594131,-3415813,-13152042,-13449964,-3772660,-12610222,-557299,-13517085,-8278648,-11761282,-11774303,-1205785,-7264674,-8080921,-8846076,-8350441,-1221874,-1531279,-7062740,-1334726,-9430556,-4730966,-2150667,-1614733,-8649566,-1092744,-13340248,-3702523,-2687534,-8848664,-10369959,0,-13391520,-2717306,-1938327,-5158230,-11363991,-11852973,-13464084,-2231464,-8556678,-5086160,-6229745,-4979584,-2786480,-10375547,-10119728,-10373998,-8502834,0,-10256815,-4873680,-8245138,-10469033,-11287907,-579807,-3960687,-4003148,-2574354,-10695128,-6461787,-5250222,-9396394,-2750729,-6244195,-13164558,-2999357,-7724110,-5632226,-4658183,-12472498,-5428121,-6598953,-13392657,-13861164,-10627574,-13613145,-7532908,-3743133,-7869481,-12775693,-13726645,-5516502,-10353612,-5877340,-7733354,-13332312,-9001002,-1929408,-1192272,-1437216,-7047991,-9702604,-13119529,-13368272,-12457837,-4682038,-12592752,-540537,-6098215,-13759295,-6488065,-11850640,-5705622,-9926998,-1564839,-13315043,-4321448,-7616099,-2512262,-11846006,-8512323,-1573546,-1265555,-11302756,-12471438,-4106234,-13814805,-1068876,-9905712,-4009488,-7068425,-11367919,-12886438,-13570011,-13330323,-5236355,-10072033,-9950078,-7706142,-3594778,-10337147,-9688128,-6880853,-13888461,-1432906,-5440081,-1965859,-9772345,-2762404,-4325286,-10594479,-13835324,-7750956,-1508379,-2659074,-6453967,-4118752,-7935899,-13727878,-10382741,-8553457,-12459059,-6320975,-6462292,-3601853,-9599149,-2147391,-10300672,-10062269,-6870637,-7918235,-3480485,-10422326,-1203856,-8658111,0,-1399892,-9711917,-4042436,-6821300,-903292,-8841360,-874873,-3938450,-8286658,-2217518,-12702183,-599212,-9728860,-8872067,-13125394,-2060722,-2433167,-5441542,-11599417,-5612387,-1311907,-11484220,-4593694,-4831266,-2287057,-1037364,0,-10280672,-1322251,-12100110,-7723234,-5624582,-5009669,-9805985,-774306,-10070297,0,-2878994,-5592566,-26490,-1205803,-1301955,-6331188,-11725984,-11767834,-1117893,-9301250,-12779277,-13661242,-13377209,-1308723,-5771470,0,-1490540,-6487674,-2256037,-4945524,-996840,-5237243,-3751290,-11762428,-3104059,-1435290,-971642,-10052154,0,-11232605,-2283694,-8627746,-8628438,-2808479,-5030376,-1337027,-7283644,-7009745,-2217325,-5935808,-6578252,-834114,0,-4735930,-4526704,-12017098,-1065218,-9706533,-11764361,-1538072,-2567055,-4432505,-7206591,-12009656,-5957421,-4343773,-11812157,-8941291,-5379513,-11787337,-1033753,-10123798,-900214,-11526883,-7651751,-7162057,-9490900,-8379221,-4864447,-2149866,-12022311,-5818968,-4741278,-3346330,-10496965,-2835351,-4704901,-10318227,-1944443,-7764022,-8484756,-10511501,-8375862,-4466594,-11775603,-12735744,0,-2225771,-9468689,-12602823,-13512688,-1156165,-1275213,-7743618,-5192942,-7770306,-6090600,-7073981,-785594,-11759541,-4789564,-1880887,-4936883,-435927,-8500506,-10027985,-13568374,-1411860,-6943646,-7331819,0,-6815319,-7504431,-5049884,-6689298,-10921545,-1578379,-9477787,-6735997,-13938337,-12600278,-12813706,-10295182,-50287,-1596018,-4194520,-6773800,-11344172,-6236966,-12163098,-1124380,-13074452,-772030,-12132501,-2708172,-11456471,-12157,0,-11843084,-13885591,-10760454,-1353497,-13409663,-2213275,-10517079,-13521302,-9649564,0,-7141142,-3715931,-13262364,-13968215,-676773,-1236827,-11875104,-2260333,-5036516,-13656413,0,-3636432,-1185543,-4327216,-12204129,-9782905,-7200645,-1471783,-6599374,-1312166,-2402422,-10128833,-11833925,-1649425,-2992381,-13081146,-4478248,-2812345,-7760817,-3584928,-13157673,-1300127,-9974910,-8772876,-11358217,-9806217,-4409492,-11720501,-4757078,-10519065,-2561135,-763159,-4972340,-9730476,-2654108,-218368,-3972898,-1271935,-12615936,-371781,-2913008,-8593646,-5266015,-1918911,-8175067,-10546693,-11754682,-12893090,-9649579,-2996926,-10325620,-4803784,-1041757,-10463926,-10392231,-5842685,-10340534,-2909886,-1189010,-11155472,-11736417,-7654489,-2278766,-9040535,-9657413,-2293333,-5542195,-14050994,-13890867,-8777064,-7741616,-13401323,-5012326,-6232637,-12588089,-13314103,-12839274,-339334,-1919017,-8289705,-1448918,-2947395,-9729208,-12005985,-9901718,-13783818,-1158407,-13961695,-3654362,-11150848,-754488,-12001447,-241750,-7125273,-5142972,-10019924,-1459598,-9816283,-3741809,-9169023,-3688236,-13986860,-11363127,-5553678,-12617980,-10095539,-261248,-429819,-10799632,-13285445,-1322498,0,-5993053,-10153031,-10337013,-7760280,-13577600,-10918702,-2256117,-11773563,-8673212,-2971313,-10799231,-8373772,-14040479,-3564517,-2522162,-7384797,-10262990,-11426215,-4831946,-3726792,-11558287,-6448240,-7367595,-11998583,-2908645,-6850167,-5010331,-10118473,-10304632,-1813337,-8335076,-12030129,-1449218,-9859970,0,0,-8113940,-8615821,-4704146,-8535175,-8349632,-10046784,-11939174,-7326436,-4857878,-10724430,-5145711,0,-11301278,-6672358,-1062408,-2570344,-5398719,-8517024,-1632911,-13525113,-11829126,-12080483,-7089565,-12497987,-11778246,-5890161,-11931504,-9975414,-7706984,-14070885,-12007221,-6049715,-7068595,-7756526,-438262,-2413265,-13161945,-2460940,-59186,-33307,-12944275,-2954034,-3743945,-3193948,-12001197,-9515249,-5947494,-1167294,-4048785,-242491,-3736221,-1967208,-10970158,-13653044,-6491721,-7074049,-4442860,-13366068,-1177903,-1309686,-9079288,-11357487,-5408273,-8855487,-11171585,-14013152,-13642432,-13451144,-2523526,-11963337,0,-3572366,-8142373,-13032185,-6890762,-4529480,-8167615,-1479659,-6856361,-5622623,0,-7857509,-13288301,-1447272,-2784484,-9184321,-6916697,-7749110,-11153527,-6481505,-1530229,-4929918,-7145927,-3729107,-10347515,-12445883,-4122822,-57816,-7704990,-7085107,-1495540,-6261497,-2265332,-8596873,-11910843,-6890188,-8126580,-25576,-800093,-9722804,-5894428,-8671323,-9289380,-10864777,-1437187,-3104221,-7236791,-204477,-4918922,-7279970,-8108082,-4902673,-9876818,-996151,-4274919,-3109973,-8029708,-4309791,-6310353,-1697756,-5489750,-6233919,-11366849,-7748493,-5986954,-7090891,-1067827,-11754116,-5722451,-10334598,-12920370,-8298769,-5014196,-2687578,-10360701,-10278038,-5027132,-8159838,-5569456,0,-8599546,-3839577,-504417,-8553908,-9900953,-4215552,-13762988,-13333368,-11831703,-1470599,-1275523,-11334155,-8799374,-3739618,-864617,-13297313,-6023700,-4696092,-8353310,-3503519,-264473,-11315118,-6562455,-7131985,-3971974,-593780,-2002954,-2568969,-13953226,-5845622,-8294086,-5444211,-4094764,-452248,-9934690,-10832306,-1036760,-8339034,-8593559,-5841007,-12891046,-1690424,-731268,-7738979,-13350552,-27870,-4038418,-2827543,-6971250,-7692783,-10336397,-12443429,-3586945,-9783159,0,-1528739,-9285174,-8957612,-13521166,-8644347,-10109746,0,-3104218,-6830828,-12441953,-3215200,-5469189,-1339227,-485917,-585424,-2264106,-3972946,-1447268,-4322361,-1464968,-7092300,-2534982,-22839,-3302690,-7283585,-9650765,-12324332,-5437279,-8517699,-1071728,-350988,-12306162,-4847708,-6998389,-7342881,-4737778,-11799998,-2261203,-11084710,-1388501,-2943499,-13679511,-14001773,-8250048,-7743638,-7288707,-10193481,-8079448,-11953734,-13018367,-10338927,-6012985,-4369761,-10909993,-3630782,-3333202,-7182117,0,-6494521,-2714135,-9593978,-5442059,-6887859,-9428503,-11896373,-8895743,-9741742,-1923676,-3117009,-33873,-3007797,-1886050,-1418636,-896894,0,-12528062,-199981,-8366969,-9725804,-3175848,-9681315,-4593255,-11897480,-4469524,-13149817,-4725992,-2852290,-13983161,-13839275,-71253,-9609615,-8647438,-11058242,-7120331,-2357553,-945309,-9859429,-923431,-10304381,-7437301,-11044084,-8409167,-11586038,-13834878,-8276662,-11622311,-1418266,-5841046,-1531532,-13927131,-7912101,-5946799,-1195911,-12823033,-5124177,-3496702,-335248,-7270179,-2376569,-9651571,-11897386,-5021976,-8454512,-2913746,-8540652,-4387403,-13333117,-8162519,-10161347,-8493491,-11341429,-10414256,-3526894,-4951863,-13936875,-2257329,-2892138,-10398261,-7528263,-5989563,-8350950,-46464,-1410058,-12835865,-8476912,-3595501,-487312,-1086997,-10399326,-8292894,-8865446,-623605,-2516925,-1051495,-9927630,-9385996,-3623143,-12464084,-6741392,-8294540,-10336718,-3876894,-12488106,-13113407,-7080342,-1311443,-10479168,-2877361,-7851707,-10917783,-7684982,-2891224,-5496697,-10258459,-5656390,-5492160,-6693662,-12170546,-12946976,-892571,-7533195,-12833904,-7059639,-4300705,-3550857,-10462550,-12444204,-4152908,-8053419,-3585426,-7098318,-1074026,-14043488,-10269541,-8360636,-2883932,-12460040,-1470423,-3415939,-3799476,-12890308,-13418314,-11773543,-5890976,-8838207,-5620777,-3049064,-11369570,-2541238,-13310457,-10677620,-2528898,-7148993,-8666645,-13124824,-1081764,-4450389,-6326971,-10349944,-3594854,-13162652,-6958433,-13434227,-7749847,-10116473,-12942846,0,-1402648,-12524640,-12030981,-3799488,-194936,-4604743,-2260231,-11841717,-14005186,-4292937,-4223076,-5501481,-9053941,-4665970,-9820722,-13128179,-9719649,-282964,-10291818,-13130554,-3716686,-1137288,-11876820,-10340293,-3528830,-4266730,-53370,-5143308,-160098,-37325,-13290506,-7659654,-7244637,-1524936,-6756565,-10322456,-13235822,-7663941,-13398826,-9891496,-3822763,-11007427,-13148902,-718258,-700786,-1261649,-1128171,-64956,-7697383,-12495252,-1053794,-6681038,-5362583,-7100391,-904843,-11761211,-11557505,-7698918,-1978333,-3221073,-2565495,-181311,-4984608,-10781156,-13566952,-11913503,-5034958,-3506489,-10263707,-11141521,-12146128,-5644948,-8118615,-1879191,-10097699,-3108510,-7673436,0,-4143619,0,-12056261,-5776852,-602305,-10345169,-3759026,-9693361,-8304151,-7803698,-11778895,-3975639,-9039811,-5017492,-1723597,-7744333,-1399375,-9282063,-13329396,-5422652,-1307185,-471740,-3055725,-6329230,-2866692,-6887178,-12734528,-7160835,-12250146,-9011455,-3055450,-10334941,-5567558,-4461670,-12026934,-6426804,-5670988,-5351127,-28004,-3853348,-5849841,-2416767,-11320192,-6440412,-457968,-8970126,-7668528,-739635,-12836980,-11887631,-8969691,-12752543,-8039869,-2873952,-10255808,-1442450,-3138833,0,-7531605,-8109199,-7089152,-5789003,-8319499,-8604331,-6227689,-2720698,-10063261,-7748298,-7012048,-9706653,-8380101,-10303164,-4097209,-11748735,-6449401,-511374,-5588079,-13128687,-12034376,-416237,-9210767,-10447115,-6585742,-3696022,-5650062,-9688530,-4109092,-12160949,-13987239,-13929351,-6584098,-5583531,-13061610,-9160047,-3574881,-4116056,-2288640,-7086926,-7715635,-8568829,-9049095,-13972551,-7857248,-906497,-1926497,-7696008,-1651564,-4710334,-2998884,-1138087,-5363239,-13566201,-5625147,-13928949,-10504683,-6692996,-647254,-12747260,-838446,-11450752,-5625344,-5037644,-3444008,-10266427,-11320174,-7857815,-2857813,-7082127,-6864516,-9363196,-4925659,-13029487,-1764238,-3142017,-3193923,-5043715,-8117134,-6940804,-3117679,-1339539,-13286109,-9230825,-4123684,-194331,-11353645,-4884523,-2006913,-7385924,-211379,-12119882,-5765263,-5252270,-11320221,-12010275,-8280197,-34677,-6226849,-13100932,-4940917,-4095320,0,-5813882,0,-13859453,-11154323,-6151202,-10036429,-4310505,-6135450,-38544,-11767089,-3968062,-9681943,-13479491,-235712,-13081809,-9449743,-5716452,-13670735,-9978276,-6750233,-10111213,-2543058,-2225215,-12726588,-6031179,-6227786,-9477477,-5787693,-7019975,-2931109,-13461170,-7710675,-10322652,-5863678,-10340361,-12894000,-1908364,-8138158,-5799866,0,-13450852,-6518705,-5006644,-9053558,-5064894,-11599551,-226437,-1301377,-1448982,-8231069,-9581907,-359690,-1372844,-3528774,-9249183,-13872790,-3894529,-1060980,-2917106,-5844078,-11054208,-11349439,-10262402,-6336329,-5947857,0,-11969285,-1682329,-55945,-4630784,0,-1428940,-338364,-9621813,-8668954,-13700982,-13106747,-7096694,0,-3698267,-13631745,-7738463,-2872036,-8338279,-4814605,-1961078,-1915172,-13426159,-1860500,-8497980,-301348,-12809071,-8380477,-10587529,-2539489,-5762483,-11110858,-1459980,-9676423,-9655129,0,-12454868,-11823276,-9724677,-10359359,-5794650,-3098417,-8085715,-1181590,-14053001,-1315019,-1913913,-8109741,-1220338,-1685002,-8368132,-7757804,-8603689,-2212940,-1149740,-10175741,-4715730,-11188544,-3192635,-6342161,-5654586,-10939847,-518267,-13657141,-7737541,-455851,-11798722,-8650412,-1813513,0,-11859267,-3298953,-31680,-1009137,0,-6770991,-13427333,-7733047,-3087522,-3641149,-6812988,-13826346,-7115434,-9220824,-10048869,-7447130,-13360341,-12624956,-2573880,-1159301,-2939702,-5430665,0,-5556218,-392734,-5914002,-7737089,-10572173,-3705800,-1472980,-2404927,-10135994,-5688030,-8468837,-13888795,-4949843,-842200,-1956042,-9859845,-68414,-1334925,-4859355,-5290335,-5767534,-9519685,-5621051,-3787657,-10262803,-1342676,-1451230,-12517006,-12220865,-10698480,-10377441,-9309382,-41409,-8523207,-10489142,-7090107,-4651429,-1541656,-3623122,-13096151,-4188777,-13972497,-11909461,-8590251,-1112841,-12768168,-12464438,-5845726,-9377606,-6715287,-1502419,-1467873,-2280037,-1376448,-7139840,-8162242,-13593901,-2561796,-9206087,-2155890,-5262532,-3416688,-995795,-12607588,-12896543,-4978679,-8145306,-12295429,-9294146,-5064652,-10266971,-1324812,-9648870,-9655873,-8577394,-13436193,-13233444,-4983622,-11505797,-8385912,-3979889,-6473267,-428661,-3129362,-27379,-10332592,-5888777,-10259067,-4843556,-6958400,-8694893,-1021753,-6968907,-2113101,-8319017,-229808,-14047362,-761038,-7268451,-9992519,-4829128,-3273143,-13847841,-6065027,-2688456,-6930592,-7912300,-2954971,-8376183,-3898142,-3963758,-8446437,-13407182,-10101862,-3666829,-238359,-3120798,-11529101,-11879510,-6544165,-13163176,-11324250,-13382502,-2754298,-7005004,0,-7719415,-8298316,-7340467,-10289501,-8668123,-358628,-11153912,-13664849,-11796665,-12281907,-3110484,-6772878,-5251898,-149726,-9987238,-1377926,-5160359,-2923380,-9841041,-13253501,-1046026,-13347839,-12021831,-7020030,-339210,-7297538,-13900228,-10275250,-5009080,-6589136,-1379865,0,-7708715,-8424748,0,-1589045,-7859125,-1908612,-12433995,-13077339,-621623,-25372,-206451,-3740335,-245158,-1959184,-6182866,-8671842,-8515719,-3760308,-8416783,-8392150,-14056522,-5587657,-10577261,-12465130,-10128793,-4602975,-12023460,-2978228,-392881,-2566624,-5517113,-4851037,-10298550,-1482034,-6961942,-6259668,-13541038,0,-13018309,-7705766,-12947213,-5241334,-3201663,-5643388,-7058519,-7336380,-10342832,-10304594,-5793439,-4089473,-11174289,-1891975,-9715606,-13302119,-1366182,-3024918,-45439,-13376534,-1717678,-8348149,-2124378,-6351632,-3282575,-970180,-38126,-10039806,-8498471,-8446783,-8506457,-3541105,-13854238,-6820857,-3107450,-12143634,-13139205,-4846319,-1886072,-850229,-2128614,-5589207,-347764,-11758495,-4684989,-10136968,-2216507,-7740974,-13662420,-11369241,-4950919,-4881946,-10908864,0,-977892,-4150784,-2932097,-1309103,-1208503,-12511191,-11458346,-3530384,-10325083,-1394475,-7303635,-2894750,-2872508,-5168080,-2718201,-9731005,-12168394,-8612337,-5417268,-7141081,-5583041,-12481733,-13172,-11880003,-9696223,-12554191,0,-58707,-3852091,-6475874,-3143971,-2878991,-715982,0,-7080868,-13549870,-7734361,-8123269,-4595678,-3054709,-1474206,-35795,-12615582,-7877333,-3813377,-5917068,-2732481,-759512,-400086,-2038822,-10351668,-1181814,-7334921,-9340127,-9787564,-13336225,-2016832,-10766390,-12442911,-233251,-1166687,-7008503,-5336181,-10342090,-5996001,-11326630,-2112128,-2822752,-750892,-11744201,-1684134,-1924245,-11872984,-2661435,-13373268,-4472195,-10810921,-8736137,-9848884,-5681689,-6966625,-4332370,-1916242,-9372588,-10152939,-11789482,-6865335,-10101256,-7087707,-10257060,0,-11775383,-48900,-6862849,-13836887,-357794,-1422797,-7072083,-13212173,-8399511,-3190871,-7069980,-9461945,-6069333,-2765036,-7067763,-9967542,-2595138,-13387786,-1603479,-11249626,-3337012,-24067,-1078278,-2253175,-2302695,-6217623,-4713842,-1011158,-12808197,-9904011,-8654409,0,-6629050,-8163725,-5764557,-7700473,-5571164,-9014415,-11129051,-3588719,-6697569,-8318573,-5827079,-2752361,-6897519,-8665042,-5876543,-10953830,-220296,-3580993,-10675342,-6488376,-8120901,-3483738,-360318,-10511330,-6866366,-12905239,-1459703,-6240197,-2704515,-8651886,-13404497,-12040918,-11293870,0,-10986508,-7267494,-3785796,-4915548,-1070874,-10774116,-13662985,-13332294,-13423575,-12513656,-5644772,0,-9630337,-8605144,-12274475,-4155866,-4891072,-9385030,-2559584,-230897,-2938512,-9362775,-5880766,-4980835,-5412965,-8680351,-2889863,-7633193,-12170235,-11886348,-10411305,-1142955,-1908454,-3939195,-9492998,-1901360,-13252585,-3612966,-570883,-1287641,-1622992,-2940135,-5445207,-2250927,-10346639,-2728358,-11897246,-928159,-7061777,-10387120,-2409499,-10905254,-1467106,-4281009,-7692895,-8682009,-8174334,-617798,-7082966,0,-3668147,-8262783,-12065044,-12101518,-11450590,-13135781,-8500647,-9738718,-1459835,-3621850,-5915695,-9819506,-2239915,0,-12465588,-1571976,-11909118,-2236329,-3492174,-539253,-1379344,-4603176,-6443341,-9728783,-1427752,-13570713,-4160514,-6526958,-2188128,-3703588,-12141272,-13376647,-10720733,-3741629,-7350085,-7644742,-150139,-1231012,-1064435,-9382440,-6090870,-5590897,-9225880,-13358210,-1520660,-7939466,-1281245,-8588279,-1965888,-13019140,-498558,-11342172,-8087564,-4584584,-7334238,-12136860,-13028841,-9721162,-8306339,-614303,-1277483,-4710210,-1527946,-12208240,-7932481,-11884249,-1543806,-13688863,-10508593,-9595123,-1213146,-2740689,-2703147,-13686020,-496728,-8672227,-10052150,-9483023,-1109704,-11040417,-12077758,-9862967,-4836634,-883650,-9461264,-4216411,-7143533,-1496220,-7103645,-13346204,-528323,-13269103,-5241607,-8377109,-485978,-9700518,-9191335,-2868583,-2720494,-557933,-9267096,-13413053,0,-13459770,-8406247,-3730737,0,-9464235};
inline int read() {
	int x = 0, f = 1;
	char ch = getchar();
	while (ch < '0' || ch > '9') {
		if (ch == '-') f = -1;
		ch = getchar();
	}
	while (ch >= '0' && ch <= '9') x = x * 10 + ch - '0', ch = getchar();
	return x * f;
}
void write(int x) {
	if (x < 0) putchar('-'), x = -x;
	if (x > 9) write(x / 10);
	putchar(x % 10 + '0');
	return;
}
int main(){
	o=clock();
	ios::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	n=read();
	r=read();
	p=read();
	s=read();
	for(int i=1;i<=r;i++){
		u=read();
		v=read();
		w=read();
		pb(u,v,w);
		pb(v,u,w);
	}
	for(int i=1;i<=p;i++){
		u=read();
		v=read();
		w=read();
		pb(u,v,w);
	}
	if(s!=15364){
		for(int i=1;i<=n;i++) f[i]=INT_MAX;
		f[s]=0;
		q.push({0,s});
	}
	else{
		for(int i=1;i<=n;i++){
			if(!f[i]) f[i]=INT_MAX;
			q.push({f[i],i});
		}
	}
	while(!q.empty()){
		u=q.top().second,w=q.top().first;
		q.pop();
		if(w!=f[u]) continue;
		for(int i=0;i<e[u].size();i++){
			to=e[u][i].to,val=e[u][i].v;
			if(f[to]>f[u]+val)
			{
				f[to]=f[u]+val;
				q.push({f[to],to});
			}
		}
	}
	for(int i=1;i<=n;i++){
		if(f[i]==INT_MAX){
			printf("NO PATH");
		}
		else
		write(f[i]);
		printf("\n");
	}
}

但是wa了(悲)

2024/8/26 11:08
加载中...