Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
不带模数的题,吐槽了char f[500][500]={"1","1","3","5","11","21","43","85","171","341","683","1365","2731","5461","10923","21845","43691","87381","174763","349525","699051","1398101","2796203","5592405","11184811","22369621","44739243","89478485","178956971","357913941","715827883","1431655765","2863311531","5726623061","11453246123","22906492245","45812984491","91625968981","183251937963","366503875925","733007751851","1466015503701","2932031007403","5864062014805","11728124029611","23456248059221","46912496118443","93824992236885","187649984473771","375299968947541","750599937895083","1501199875790165","3002399751580331","6004799503160661","12009599006321323","24019198012642645","48038396025285291","96076792050570581","192153584101141163","384307168202282325","768614336404564651","1537228672809129301","3074457345618258603","6148914691236517205","12297829382473034411","24595658764946068821","49191317529892137643","98382635059784275285","196765270119568550571","393530540239137101141","787061080478274202283","1574122160956548404565","3148244321913096809131","6296488643826193618261","12592977287652387236523","25185954575304774473045","50371909150609548946091","100743818301219097892181","201487636602438195784363","402975273204876391568725","805950546409752783137451","1611901092819505566274901","3223802185639011132549803","6447604371278022265099605","12895208742556044530199211","25790417485112089060398421","51580834970224178120796843","103161669940448356241593685","206323339880896712483187371","412646679761793424966374741","825293359523586849932749483","1650586719047173699865498965","3301173438094347399730997931","6602346876188694799461995861","13204693752377389598923991723","26409387504754779197847983445","52818775009509558395695966891","105637550019019116791391933781","211275100038038233582783867563","422550200076076467165567735125","845100400152152934331135470251","1690200800304305868662270940501","3380401600608611737324541881003","6760803201217223474649083762005","13521606402434446949298167524011","27043212804868893898596335048021","54086425609737787797192670096043","108172851219475575594385340192085","216345702438951151188770680384171","432691404877902302377541360768341","865382809755804604755082721536683","1730765619511609209510165443073365","3461531239023218419020330886146731","6923062478046436838040661772293461","13846124956092873676081323544586923","27692249912185747352162647089173845","55384499824371494704325294178347691","110768999648742989408650588356695381","221537999297485978817301176713390763","443075998594971957634602353426781525","886151997189943915269204706853563051","1772303994379887830538409413707126101","3544607988759775661076818827414252203","7089215977519551322153637654828504405","14178431955039102644307275309657008811","28356863910078205288614550619314017621","56713727820156410577229101238628035243","113427455640312821154458202477256070485","226854911280625642308916404954512140971","453709822561251284617832809909024281941","907419645122502569235665619818048563883","1814839290245005138471331239636097127765","3629678580490010276942662479272194255531","7259357160980020553885324958544388511061","14518714321960041107770649917088777022123","29037428643920082215541299834177554044245","58074857287840164431082599668355108088491","116149714575680328862165199336710216176981","232299429151360657724330398673420432353963","464598858302721315448660797346840864707925","929197716605442630897321594693681729415851","1858395433210885261794643189387363458831701","3716790866421770523589286378774726917663403","7433581732843541047178572757549453835326805","14867163465687082094357145515098907670653611","29734326931374164188714291030197815341307221","59468653862748328377428582060395630682614443","118937307725496656754857164120791261365228885","237874615450993313509714328241582522730457771","475749230901986627019428656483165045460915541","951498461803973254038857312966330090921831083","1902996923607946508077714625932660181843662165","3805993847215893016155429251865320363687324331","7611987694431786032310858503730640727374648661","15223975388863572064621717007461281454749297323","30447950777727144129243434014922562909498594645","60895901555454288258486868029845125818997189291","121791803110908576516973736059690251637994378581","243583606221817153033947472119380503275988757163","487167212443634306067894944238761006551977514325","974334424887268612135789888477522013103955028651","1948668849774537224271579776955044026207910057301","3897337699549074448543159553910088052415820114603","7794675399098148897086319107820176104831640229205","15589350798196297794172638215640352209663280458411","31178701596392595588345276431280704419326560916821","62357403192785191176690552862561408838653121833643","124714806385570382353381105725122817677306243667285","249429612771140764706762211450245635354612487334571","498859225542281529413524422900491270709224974669141","997718451084563058827048845800982541418449949338283","1995436902169126117654097691601965082836899898676565","3990873804338252235308195383203930165673799797353131","7981747608676504470616390766407860331347599594706261","15963495217353008941232781532815720662695199189412523","31926990434706017882465563065631441325390398378825045","63853980869412035764931126131262882650780796757650091","127707961738824071529862252262525765301561593515300181","255415923477648143059724504525051530603123187030600363","510831846955296286119449009050103061206246374061200725","1021663693910592572238898018100206122412492748122401451","2043327387821185144477796036200412244824985496244802901","4086654775642370288955592072400824489649970992489605803","8173309551284740577911184144801648979299941984979211605","16346619102569481155822368289603297958599883969958423211","32693238205138962311644736579206595917199767939916846421","65386476410277924623289473158413191834399535879833692843","130772952820555849246578946316826383668799071759667385685","261545905641111698493157892633652767337598143519334771371","523091811282223396986315785267305534675196287038669542741","1046183622564446793972631570534611069350392574077339085483","2092367245128893587945263141069222138700785148154678170965","4184734490257787175890526282138444277401570296309356341931","8369468980515574351781052564276888554803140592618712683861","16738937961031148703562105128553777109606281185237425367723","33477875922062297407124210257107554219212562370474850735445","66955751844124594814248420514215108438425124740949701470891","133911503688249189628496841028430216876850249481899402941781","267823007376498379256993682056860433753700498963798805883563","535646014752996758513987364113720867507400997927597611767125","1071292029505993517027974728227441735014801995855195223534251","2142584059011987034055949456454883470029603991710390447068501","4285168118023974068111898912909766940059207983420780894137003","8570336236047948136223797825819533880118415966841561788274005","17140672472095896272447595651639067760236831933683123576548011","34281344944191792544895191303278135520473663867366247153096021","68562689888383585089790382606556271040947327734732494306192043","137125379776767170179580765213112542081894655469464988612384085","274250759553534340359161530426225084163789310938929977224768171","548501519107068680718323060852450168327578621877859954449536341","1097003038214137361436646121704900336655157243755719908899072683","2194006076428274722873292243409800673310314487511439817798145365","4388012152856549445746584486819601346620628975022879635596290731","8776024305713098891493168973639202693241257950045759271192581461","17552048611426197782986337947278405386482515900091518542385162923","35104097222852395565972675894556810772965031800183037084770325845","70208194445704791131945351789113621545930063600366074169540651691","140416388891409582263890703578227243091860127200732148339081303381","280832777782819164527781407156454486183720254401464296678162606763","561665555565638329055562814312908972367440508802928593356325213525","1123331111131276658111125628625817944734881017605857186712650427051","2246662222262553316222251257251635889469762035211714373425300854101","4493324444525106632444502514503271778939524070423428746850601708203","8986648889050213264889005029006543557879048140846857493701203416405","17973297778100426529778010058013087115758096281693714987402406832811","35946595556200853059556020116026174231516192563387429974804813665621","71893191112401706119112040232052348463032385126774859949609627331243","143786382224803412238224080464104696926064770253549719899219254662485","287572764449606824476448160928209393852129540507099439798438509324971","575145528899213648952896321856418787704259081014198879596877018649941","1150291057798427297905792643712837575408518162028397759193754037299883","2300582115596854595811585287425675150817036324056795518387508074599765","4601164231193709191623170574851350301634072648113591036775016149199531","9202328462387418383246341149702700603268145296227182073550032298399061","18404656924774836766492682299405401206536290592454364147100064596798123","36809313849549673532985364598810802413072581184908728294200129193596245","73618627699099347065970729197621604826145162369817456588400258387192491","147237255398198694131941458395243209652290324739634913176800516774384981","294474510796397388263882916790486419304580649479269826353601033548769963","588949021592794776527765833580972838609161298958539652707202067097539925","1177898043185589553055531667161945677218322597917079305414404134195079851","2355796086371179106111063334323891354436645195834158610828808268390159701","4711592172742358212222126668647782708873290391668317221657616536780319403","9423184345484716424444253337295565417746580783336634443315233073560638805","18846368690969432848888506674591130835493161566673268886630466147121277611","37692737381938865697777013349182261670986323133346537773260932294242555221","75385474763877731395554026698364523341972646266693075546521864588485110443","150770949527755462791108053396729046683945292533386151093043729176970220885","301541899055510925582216106793458093367890585066772302186087458353940441771","603083798111021851164432213586916186735781170133544604372174916707880883541","1206167596222043702328864427173832373471562340267089208744349833415761767083","2412335192444087404657728854347664746943124680534178417488699666831523534165","4824670384888174809315457708695329493886249361068356834977399333663047068331","9649340769776349618630915417390658987772498722136713669954798667326094136661","19298681539552699237261830834781317975544997444273427339909597334652188273323","38597363079105398474523661669562635951089994888546854679819194669304376546645","77194726158210796949047323339125271902179989777093709359638389338608753093291","154389452316421593898094646678250543804359979554187418719276778677217506186581","308778904632843187796189293356501087608719959108374837438553557354435012373163","617557809265686375592378586713002175217439918216749674877107114708870024746325","1235115618531372751184757173426004350434879836433499349754214229417740049492651","2470231237062745502369514346852008700869759672866998699508428458835480098985301","4940462474125491004739028693704017401739519345733997399016856917670960197970603","9880924948250982009478057387408034803479038691467994798033713835341920395941205","19761849896501964018956114774816069606958077382935989596067427670683840791882411","39523699793003928037912229549632139213916154765871979192134855341367681583764821","79047399586007856075824459099264278427832309531743958384269710682735363167529643","158094799172015712151648918198528556855664619063487916768539421365470726335059285","316189598344031424303297836397057113711329238126975833537078842730941452670118571","632379196688062848606595672794114227422658476253951667074157685461882905340237141","1264758393376125697213191345588228454845316952507903334148315370923765810680474283","2529516786752251394426382691176456909690633905015806668296630741847531621360948565","5059033573504502788852765382352913819381267810031613336593261483695063242721897131","10118067147009005577705530764705827638762535620063226673186522967390126485443794261","20236134294018011155411061529411655277525071240126453346373045934780252970887588523","40472268588036022310822123058823310555050142480252906692746091869560505941775177045","80944537176072044621644246117646621110100284960505813385492183739121011883550354091","161889074352144089243288492235293242220200569921011626770984367478242023767100708181","323778148704288178486576984470586484440401139842023253541968734956484047534201416363","647556297408576356973153968941172968880802279684046507083937469912968095068402832725","1295112594817152713946307937882345937761604559368093014167874939825936190136805665451","2590225189634305427892615875764691875523209118736186028335749879651872380273611330901","5180450379268610855785231751529383751046418237472372056671499759303744760547222661803","10360900758537221711570463503058767502092836474944744113342999518607489521094445323605","20721801517074443423140927006117535004185672949889488226685999037214979042188890647211","41443603034148886846281854012235070008371345899778976453371998074429958084377781294421","82887206068297773692563708024470140016742691799557952906743996148859916168755562588843","165774412136595547385127416048940280033485383599115905813487992297719832337511125177685","331548824273191094770254832097880560066970767198231811626975984595439664675022250355371","663097648546382189540509664195761120133941534396463623253951969190879329350044500710741","1326195297092764379081019328391522240267883068792927246507903938381758658700089001421483","2652390594185528758162038656783044480535766137585854493015807876763517317400178002842965","5304781188371057516324077313566088961071532275171708986031615753527034634800356005685931","10609562376742115032648154627132177922143064550343417972063231507054069269600712011371861","21219124753484230065296309254264355844286129100686835944126463014108138539201424022743723","42438249506968460130592618508528711688572258201373671888252926028216277078402848045487445","84876499013936920261185237017057423377144516402747343776505852056432554156805696090974891","169752998027873840522370474034114846754289032805494687553011704112865108313611392181949781","339505996055747681044740948068229693508578065610989375106023408225730216627222784363899563","679011992111495362089481896136459387017156131221978750212046816451460433254445568727799125","1358023984222990724178963792272918774034312262443957500424093632902920866508891137455598251","2716047968445981448357927584545837548068624524887915000848187265805841733017782274911196501","5432095936891962896715855169091675096137249049775830001696374531611683466035564549822393003","10864191873783925793431710338183350192274498099551660003392749063223366932071129099644786005","21728383747567851586863420676366700384548996199103320006785498126446733864142258199289572011","43456767495135703173726841352733400769097992398206640013570996252893467728284516398579144021","86913534990271406347453682705466801538195984796413280027141992505786935456569032797158288043","173827069980542812694907365410933603076391969592826560054283985011573870913138065594316576085","347654139961085625389814730821867206152783939185653120108567970023147741826276131188633152171","695308279922171250779629461643734412305567878371306240217135940046295483652552262377266304341","1390616559844342501559258923287468824611135756742612480434271880092590967305104524754532608683","2781233119688685003118517846574937649222271513485224960868543760185181934610209049509065217365","5562466239377370006237035693149875298444543026970449921737087520370363869220418099018130434731","11124932478754740012474071386299750596889086053940899843474175040740727738440836198036260869461","22249864957509480024948142772599501193778172107881799686948350081481455476881672396072521738923","44499729915018960049896285545199002387556344215763599373896700162962910953763344792145043477845","88999459830037920099792571090398004775112688431527198747793400325925821907526689584290086955691","177998919660075840199585142180796009550225376863054397495586800651851643815053379168580173911381","355997839320151680399170284361592019100450753726108794991173601303703287630106758337160347822763","711995678640303360798340568723184038200901507452217589982347202607406575260213516674320695645525","1423991357280606721596681137446368076401803014904435179964694405214813150520427033348641391291051","2847982714561213443193362274892736152803606029808870359929388810429626301040854066697282782582101","5695965429122426886386724549785472305607212059617740719858777620859252602081708133394565565164203","11391930858244853772773449099570944611214424119235481439717555241718505204163416266789131130328405","22783861716489707545546898199141889222428848238470962879435110483437010408326832533578262260656811","45567723432979415091093796398283778444857696476941925758870220966874020816653665067156524521313621","91135446865958830182187592796567556889715392953883851517740441933748041633307330134313049042627243","182270893731917660364375185593135113779430785907767703035480883867496083266614660268626098085254485","364541787463835320728750371186270227558861571815535406070961767734992166533229320537252196170508971","729083574927670641457500742372540455117723143631070812141923535469984333066458641074504392341017941","1458167149855341282915001484745080910235446287262141624283847070939968666132917282149008784682035883","2916334299710682565830002969490161820470892574524283248567694141879937332265834564298017569364071765","5832668599421365131660005938980323640941785149048566497135388283759874664531669128596035138728143531","11665337198842730263320011877960647281883570298097132994270776567519749329063338257192070277456287061","23330674397685460526640023755921294563767140596194265988541553135039498658126676514384140554912574123","46661348795370921053280047511842589127534281192388531977083106270078997316253353028768281109825148245","93322697590741842106560095023685178255068562384777063954166212540157994632506706057536562219650296491","186645395181483684213120190047370356510137124769554127908332425080315989265013412115073124439300592981","373290790362967368426240380094740713020274249539108255816664850160631978530026824230146248878601185963","746581580725934736852480760189481426040548499078216511633329700321263957060053648460292497757202371925","1493163161451869473704961520378962852081096998156433023266659400642527914120107296920584995514404743851","2986326322903738947409923040757925704162193996312866046533318801285055828240214593841169991028809487701","5972652645807477894819846081515851408324387992625732093066637602570111656480429187682339982057618975403","11945305291614955789639692163031702816648775985251464186133275205140223312960858375364679964115237950805","23890610583229911579279384326063405633297551970502928372266550410280446625921716750729359928230475901611","47781221166459823158558768652126811266595103941005856744533100820560893251843433501458719856460951803221","95562442332919646317117537304253622533190207882011713489066201641121786503686867002917439712921903606443","191124884665839292634235074608507245066380415764023426978132403282243573007373734005834879425843807212885","382249769331678585268470149217014490132760831528046853956264806564487146014747468011669758851687614425771","764499538663357170536940298434028980265521663056093707912529613128974292029494936023339517703375228851541","1528999077326714341073880596868057960531043326112187415825059226257948584058989872046679035406750457703083","3057998154653428682147761193736115921062086652224374831650118452515897168117979744093358070813500915406165","6115996309306857364295522387472231842124173304448749663300236905031794336235959488186716141627001830812331","12231992618613714728591044774944463684248346608897499326600473810063588672471918976373432283254003661624661","24463985237227429457182089549888927368496693217794998653200947620127177344943837952746864566508007323249323","48927970474454858914364179099777854736993386435589997306401895240254354689887675905493729133016014646498645","97855940948909717828728358199555709473986772871179994612803790480508709379775351810987458266032029292997291","195711881897819435657456716399111418947973545742359989225607580961017418759550703621974916532064058585994581","391423763795638871314913432798222837895947091484719978451215161922034837519101407243949833064128117171989163","782847527591277742629826865596445675791894182969439956902430323844069675038202814487899666128256234343978325","1565695055182555485259653731192891351583788365938879913804860647688139350076405628975799332256512468687956651","3131390110365110970519307462385782703167576731877759827609721295376278700152811257951598664513024937375913301","6262780220730221941038614924771565406335153463755519655219442590752557400305622515903197329026049874751826603"}; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator