結果

問題 No.428 小数から逃げる夢
ユーザー matsu7874matsu7874
提出日時 2015-12-13 03:35:21
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 19,993 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 11,184 KB
実行使用メモリ 8,276 KB
最終ジャッジ日時 2023-08-13 16:44:54
合計ジャッジ時間 4,466 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,068 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 15 ms
8,080 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 15 ms
7,980 KB
testcase_16 WA -
testcase_17 AC 16 ms
8,052 KB
testcase_18 AC 15 ms
8,072 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 15 ms
8,192 KB
testcase_22 AC 16 ms
8,016 KB
testcase_23 AC 16 ms
7,980 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 15 ms
8,056 KB
testcase_27 AC 15 ms
8,004 KB
testcase_28 AC 14 ms
8,068 KB
testcase_29 AC 15 ms
8,008 KB
testcase_30 AC 15 ms
8,036 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 16 ms
8,060 KB
testcase_36 AC 15 ms
8,052 KB
testcase_37 AC 16 ms
8,032 KB
testcase_38 AC 16 ms
8,148 KB
testcase_39 AC 15 ms
8,180 KB
testcase_40 AC 16 ms
8,068 KB
testcase_41 AC 16 ms
7,948 KB
testcase_42 AC 15 ms
7,948 KB
testcase_43 AC 16 ms
8,016 KB
testcase_44 AC 15 ms
8,056 KB
testcase_45 AC 15 ms
8,048 KB
testcase_46 AC 16 ms
7,948 KB
testcase_47 WA -
testcase_48 WA -
testcase_49 WA -
testcase_50 WA -
testcase_51 AC 15 ms
8,068 KB
testcase_52 AC 15 ms
8,016 KB
testcase_53 AC 15 ms
8,016 KB
testcase_54 AC 15 ms
8,196 KB
testcase_55 AC 15 ms
8,000 KB
testcase_56 AC 16 ms
8,204 KB
testcase_57 AC 15 ms
8,016 KB
testcase_58 AC 16 ms
8,056 KB
testcase_59 AC 16 ms
7,952 KB
testcase_60 AC 15 ms
8,036 KB
testcase_61 AC 15 ms
8,036 KB
testcase_62 AC 15 ms
8,036 KB
testcase_63 AC 15 ms
8,008 KB
testcase_64 AC 15 ms
8,068 KB
testcase_65 AC 15 ms
8,052 KB
testcase_66 AC 16 ms
8,048 KB
testcase_67 AC 15 ms
8,100 KB
testcase_68 AC 15 ms
8,008 KB
testcase_69 AC 15 ms
8,036 KB
testcase_70 AC 15 ms
8,008 KB
testcase_71 AC 15 ms
8,016 KB
testcase_72 AC 16 ms
8,076 KB
testcase_73 AC 15 ms
8,048 KB
testcase_74 AC 15 ms
8,020 KB
testcase_75 AC 15 ms
8,036 KB
testcase_76 AC 15 ms
7,996 KB
testcase_77 AC 14 ms
8,020 KB
testcase_78 AC 15 ms
8,056 KB
testcase_79 AC 15 ms
8,072 KB
testcase_80 AC 15 ms
8,056 KB
testcase_81 AC 15 ms
8,076 KB
testcase_82 AC 14 ms
8,004 KB
testcase_83 AC 15 ms
8,036 KB
testcase_84 AC 14 ms
8,180 KB
testcase_85 AC 15 ms
8,004 KB
testcase_86 AC 15 ms
8,072 KB
testcase_87 AC 15 ms
8,072 KB
testcase_88 AC 15 ms
7,980 KB
testcase_89 WA -
testcase_90 WA -
testcase_91 WA -
testcase_92 WA -
testcase_93 WA -
testcase_94 WA -
testcase_95 WA -
testcase_96 WA -
testcase_97 WA -
testcase_98 AC 15 ms
8,148 KB
testcase_99 AC 15 ms
8,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a = {1 :'0.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991',2 :'0.2469135782022242628210323436384042444648410525456586062646668610727476788082848688810929496981001021041061091113151719212325272931333537394143454749515355575961636567697173757779818385878991939597982',3 :'0.36103703673033363942454851545760636669727578818487909396991021051091215182124272103336394245485154575106366697275788184878109397000306091215182124273033363942454851545760636669727578818487909396973',4 :'0.4938271564044485256606468727680848892961001041091317212529333741454953576165697377818589939802060101418222630343842464105458626670747882868109499030711151923273135394347515559636771757983879195964',5 :'0.6172839455055510657075808590951001061116212631364146515661667176818691970207121722273237424752576267727782879298030813182328333843485358636873788388939904091419242934394449545964697479848994955',6 :'0.74074073460667278849096102109152127333945515763697581879400061218243036424854606672788490970309152127333945515763697581879400061218242103642485460667278848109703091521273339455157636975818793946',7 :'0.864197523707784919810613202734414855626976839098051219263340475461687582899704111825323946535106774818896031017243138455259667380879502091623303744515865727986940108152229364350576471788592937',8 :'0.987654312808896105132129374553616977859402101826344241058667482909907152331394755637179879604122028364452606876849301091725334149576573818998061422303846546270788695031119273543515967758391928',9 :'1.11111110190991091827364554637281910009182736455463728191000918273645546372819100091827364554637281910009182736455463728191000918273645546372819100091827364554637281910009182736455463728190919',10 :'1.234567890101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899010',11 :'1.35802468011223344556677890011223344556677890011223344556677890011223344556677890011223344556677890011223344556677890011223344556677890011223344556677890011223344556677889101122334455667788901',12 :'1.4814814692133455769819406183042546678910315273951637588001224364860728497092133455769819406183042546678910315273951637588001224364860728497092133455769819406183042546678910315273951637587892',13 :'1.60493825831445770839710233649627589021528415467809407203346597285991225385164779104173043566982960922354861748801142740536679930619324558718498112437410637690031629425568819508213447607386883',14 :'1.72839504741556983981226405468829711253953678196102438526680950923375165799408223650647893072135496377920620344862769105193347617581004183246607489031731455973880216304458728701152943577185874',15 :'1.85185183651668197122742577288031833486378940924395469850015304560759106213651668197122742577288031833486378940924395469850015304551075910621365166819712274257728803183348637894092439546984865',16 :'1.9753086256177941026425874910723395571880420365268850117334965819814304662789511274359759208244056728905213753698602183450668299153147637996122844607693092541577390062238547087031935516783856',17 :'2.09876541471890623405774920926436077951229466380981532496684011835526987042138557290072441587593102744617896132104764819916335067850219365370880522395673910825425976941128456279971431486582847',18 :'2.2222222038200183654729109274563820018365472910927456382001836547291092745638200183654729109274563820018365472910927456382001836547291092745638200183654729109274563820018365472910927456381838',19 :'2.3456789929211304968880726456484032241607999183756759514335271911029486787062544638302214059789817365574941332517090092847668605244362820120395877971635547393123150698908274665850423426180829',20 :'2.4691357820222426283032343638404244464850525456586062646668707274767880828486889092949699001030507091113151719212325272931333537394143454749515355575961636567697173757779818385878991939597982',21 :'2.59259257112335475971839608203244566880930517294153657790021426385062748699112335475971839510820324456688093051729415365779002142638506274869911233547597183960820324456688093051729415365778811',22 :'2.7160493602244668911335578002244668911335578002244668911335578002244668911335578002244668911335578002244668911335578002244668911335578002244668911335578002244668911335578002244668911335577802',23 :'2.8395061493255790225487195184164881134578104275073972043669013365983062952759922456892153861850831547801244770941740638710335680032649729619426589123558820528517498214467911437608407305376793',24 :'2.9629629384266911539638812366085093357820630547903275176002448729721456994184266911539638812366085093357820630547903275176002448729721456994184266911539638812366085093357820630547903275175784',25 :'3.08641972752780328537904295480053055810631568207325783083358840934598501035608611366187123762881338638914396490154065911641669217426793184368941944699520457096214671972247729823487399244974775',26 :'3.20987651662891541679420467299255178043056830935618814406693194571982441077032955820834608713396592184470972349760228548107335986123864911743699622487501275380063258851137639016426895214773766',27 :'3.3333333057300275482093663911845730027548209366391184573002754820936639118457300275482093663911845730027548209366391184573002754820936639118457300275482093663911845730027548209366391184572757',28 :'3.4567900948311396796245281093765942250790735639220487705336190184675033159881644730129578614427099275584124068972553821038669523518008366493214978063462911947760432608917457402305887154371748',29 :'3.5802468839322518110396898275686154474033261912049790837669625548413427201305989184777063564942352821140699928578716457504336292215080093867972655851443730231609019487807366595245383124170739',30 :'3.703703673033363942454851545760636669727578818487909397000306091215182124273033363942454851545760636669727578818487909397000306091215182124273033363942454851545760636669727578818487909396973',31 :'3.8271604621344760738700132639526578920518314457708397102336496275890215284154678094072033465972859912253851647791041730435669829609223548617488011427405366799306193245587184981124375063768721',32 :'3.95061725123558820528517498214467911437608407305376100234669931639628609325579022548719518416488113457810427507397204366901336598306295275992245689215386185083154780124477094174063871033567712',33 :'4.07407404033670033670033670033670033670033670033669103367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003367003366703',34 :'4.19753082943781246811549841852872155902458932761962106499336802367105397408427711458014488317518620548923579226609529639832670135700438730741761044791347821650851953882256912559942862973165694',35 :'4.32098761853892459953066013672074278134884195490255109631670237730843791449852055912661973268033874094480155086215692276298336904397510458116518722579328639934700540761146821752882358942964685',36 :'4.4444444076400367309458218549127640036730945821854912764003673094582185491276400367309458218549127640036730945821854912764003673094582185491276400367309458218549127640036730945821854912763676',37 :'4.5679011967411488623609835731047852259973472094684215896337108458320579532700744821956943169064381185593306805428017549229670441791653912866034078155290276502397714518926640138761350882562667',38 :'4.6913579858422609937761452912968064483215998367513519028670543822058973574125089276604428119579634731149882665034180185695337210488725640240791755943271094786246301397816549331700846852361658',39 :'4.8148147749433731251913070094888276706458524640342822161003979185797367615549433731251913070094888276706458524640342822161003979185797367615549433731251913070094888276706458524640342822160649',40 :'4.938271564044485256606468727680848892970105091317212529333741454953576165697377818589939802061014182226303438424650545862667074788286909499030711151923273135394347515559636771757983879195964',41 :'5.0617283531455973880216304458728701152943577186001428425670849913274155698398122640546882971125395367819610243852668095092337516579940822365064789307213549637792062034486276910519334761758631',42 :'5.1851851422467095194367921640648913376186103458830731558004285277012549739822467095194367921640648913376186103458830731558004285277012549739822467095194367921640648913376186103458830731557622',43 :'5.3086419313478216508519538822569125599428629731660034690337720640750943781246811549841852872155902458932761963064993368023671053974084277114580144883175186205489235792266095296398326701356613',44 :'5.4320987204489337822671156004489337822671156004489337822671156004489337822671156004489337822671156004489337822671156004489337822671156004489337822671156004489337822671156004489337822671155604',45 :'5.5555555095500459136822773186409550045913682277318640955004591368227731864095500459136822773186409550045913682277318640955004591368227731864095500459136822773186409550045913682277318640954595',46 :'5.6790122986511580450974390368329762269156208550147944087338026731966125905519844913784307723701663095602489541883481277420671360065299459238853178247117641057034996428935822875216814610753586',47 :'5.8024690877522701765126007550249974492398734822977247219671462095704519946944189368431792674216916641159065401489643913886338128762371186613610856035098459340883583307825732068156310580552577',48 :'5.92592587685338230792776247321610186715641261095806550352004897459442913988368533823079277624732170186715641261095806550352004897459442913988368533823079277624732170186715641261095806550351568',49 :'6.04938266595449443934292419140810398938883787368635853484338332823181308029792878277726762575247423732272217120701969186817671666156514641363126211611060095908580757065605550454035302520150559',50 :'6.1728394550556065707580859096001061116212631364146515661667176818691970207121722273237424752576267727782879298030813182328333843485358636873788388939904091419242934394449545964697479848994955',51 :'6.29629624415671870217324762779210823385368839914294459749005203550658096112641567187021732476277930823385368839914294459749005203550658096112641567187021732476277930823385368839914294459748541',52 :'6.4197530332578308335884093459851035608611366187123762881338638914396490154065911641669217426793184368941944699520457096214671972247729823487399244975002550760126517702275278032853790429547532',53 :'6.5432098223589429650035710641771247831853892459953066013672074278134884195490256096316702377308437914498520559126619732680338740944801550862156922762983369043975104581165187225793286399346523',54 :'6.6666666114600550964187327823691460055096418732782369146005509641873278236914600550964187327823691460055096418732782369146005509641873278236914600550964187327823691460055096418732782369145514',55 :'6.7901234005611672278338945005611672278338945005611672278338945005611672278338945005611672278338945005611672278338945005611672278338945005611672278338945005611672278338945005611672278338944505',56 :'6.9135801896622793592490562187531884501581471278440975410672380369350066319763289460259157228854198551168248137945107642077339047036016732986429956126925823895520865217834914804611774308743496',57 :'7.0370369787633914906642179369452096724823997551270278543005815733088460361187633914906642179369452096724823997551270278543005815733088460361187633914906642179369452096724823997551270278542487',58 :'7.1604937678645036220793796551372308948066523824099581675339251096826854402611978369554127129884705642281399857157432915008672584430160187735945311702887460463218038975614733190490766248341478',59 :'7.2839505569656157534945413733292521171309050096928884807672686460565248444036322824201612080399959187837975716763595551474339353127231915110702989490868278747066625854504642383430262218140469',60 :'7.407407346066727884909703091521273339455157636975818794000612182430364248546066727884909703091521273339455157636975818794000612182430364248546066727884909703091521273339455157636975818793946',61 :'7.5308641351678400163248648097132945617794102642587491072339557188042036526885011733496581981430466278951127435975920824405672890521375369860218345066829915314763799612284460769309254157738451',62 :'7.6543209242689521477400265279053157841036628915416794204672992551780430568309356188144066931945719824507703295582083460871339659218447097234976022854810733598612386491174369962248750127537442',63 :'7.7777777133700642791551882460973370064279155188246097337006427915518824609733700642791551882460973370064279155188246097337006427915518824609733700642791551882460973370064279155188246097336433',64 :'7.9012345024711764105703499642893582287521681461075400469339863279257218651158045097439036832976226915620855014794408733802673196612590551984491378430772370166309560248954188348127742067135424',65 :'8.0246912915722885419855116824813794510764207733904703601673298642995612692582389552086521783491480461177430874400571370268339965309662279359249056218753188450158147127844097541067238036934415',66 :'8.1481480806734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006734006733406',67 :'8.2716048697745128048158351188654218957249260279563309866340169370472400775431078461381491684521987552290582593612896643199673502703805734108764411794714825017855320885623915926946229976532397',68 :'8.3950616588756249362309968370574431180491786552392612998673604734210794816855422916028976635037241097847158453219059279665340271400877461483522089582695643301703907764513825119885725946331388',69 :'8.5185184479767370676461585552494643403734312825221916131007040097949188858279767370676461585552494643403734312825221916131007040097949188858279767370676461585552494643403734312825221916130379',70 :'8.641975237077849199061320273441485562697683909805121926334047546168758289970411182532394653606774818896031017243138455259667380879502091623303744515865727986940108152229364350576471788592937',71 :'8.7654320261789613304764819916335067850219365370880522395673910825425976941128456279971431486583001734516886032037547189062340577492092643607795122946638098153249668401183552698704213855728361',72 :'8.8888888152800734618916437098255280073461891643709825528007346189164370982552800734618916437098255280073461891643709825528007346189164370982552800734618916437098255280073461891643709825527352',73 :'9.0123456043811855933068054280175492296704417916539128660340781552902765023977145189266401387613508825630037751249872461993674114886236098357310478522599734720946842158963371084583205795326343',74 :'9.1358023934822977247219671462095704519946944189368431792674216916641159065401489643913886338128762371186613610856035098459340883583307825732068156310580553004795429037853280277522701765125334',75 :'9.2592591825834098561371288644015916743189470462197734925007652280379553106825834098561371288644015916743189470462197734925007652280379553106825834098561371288644015916743189470462197734924325',76 :'9.3827159716845219875522905825936128966431996735027038057341087644117947148250178553208856239159269462299765330068360371390674420977451280481583511886542189572492602795633098663401693704723316',77 :'9.5061727607856341189674523007856341189674523007856341189674523007856341189674523007856341189674523007856341189674523007856341189674523007856341189674523007856341189674523007856341189674522307',78 :'9.6296295498867462503826140189776553412917049280685644322007958371594735231098867462503826140189776553412917049280685644322007958371594735231098867462503826140189776553412917049280685644321298',79 :'9.7530863389878583817977757371696765636159575553514947454341393735333129272523211917151311090705030098969492908886848280787674727068666462605856545250484644424038363432302826242220181614120289',80 :'9.876543128088970513212937455361697785940210182634425058667482909907152331394755637179879604122028364452606876849301091725334149576573818998061422303846546270788695031119273543515967758391928',81 :'9.9999999171900826446280991735537190082644628099173553719008264462809917355371900826446280991735537190082644628099173553719008264462809917355371900826446280991735537190082644628099173553718271',82 :'10.1234567062911947760432608917457402305887154372002856851341699826548311396796245281093765942250790735639220487705336190184675033159881644730129578614427099275584124068972553821038669523517262',83 :'10.2469134953923069074584226099377614529129680644832159983675135190286705438220589735741250892766044281195796347311498826650341801856953372104887256402407917559432710947862463013978165493316253',84 :'10.3703702844934190388735843281297826752372206917661463116008570554025099479644934190388735843281297826752372206917661463116008570554025099479644934190388735843281297826752372206917661463115244',85 :'10.4938270735945311702887460463218038975614733190490766248342005917763493521069278645036220793796551372308948066523824099581675339251096826854402611978369554127129884705642281399857157432914235',86 :'10.6172838626956433017039077645138251198857259463320069380675441281501887562493623099683705744311804917865523926129986736047342107948168554229160289766350372410978471584532190592796653402713226',87 :'10.7407406517967554331190694827058463422099785736149372513008876645240281603917967554331190694827058463422099785736149372513008876645240281603917967554331190694827058463422099785736149372512217',88 :'10.8641974408978675645342312008978675645342312008978675645342312008978675645342312008978675645342312008978675645342312008978675645342312008978675645342312008978675645342312008978675645342311208',89 :'10.9876542299989796959493929190898887868584838281807978777675747372717069686766656463626160595857565554535251504948474645444342414039383736353433323130292827262524232221201918171615141312110199',90 :'11.1111110190100091827364554637281910009182736455463728191000918273645546372819100091827364554637281910009182736455463728191000918273645546372819100091827364554637281910009182736455463728190919',91 :'11.23456780811012039587797163554739312315069890827466585042342618100193857769615345372921130496888072645648403224160799918375675951433527191102948678706254463830221405978981736557494133251708181',92 :'11.35802459721023160901948780736659524538312417100295888174676053463932251811039689827568615447403326191204979083766962554841342720130598918477706356494235282114069992857871645750433629221507172',93 :'11.48148138631034282216100397918579736761554943373125191307009488827670645852464034282216100397918579736761554943373125191307009488827670645852464034282216100397918579736761554943373125191306163',94 :'11.60493817541045403530252015100499948984797469645954494439342924191409039893888378736863585348433833282318130802979287827772676257524742373227221712070196918681767166615651464136312621161105154',95 :'11.72839496451056524844403632282420161208039995918783797571676359555147433935312723191511070298949086827874706662585450464238343026221814100601979389858177736965615753494541373329252117130904145',96 :'11.85185175361067646158555249464340373431282522191613100704009794918885827976737067646158555249464340373431282522191613100704009794918885827976737067646158555249464340373431282522191613100703136',97 :'11.97530854271078767472706866646260585654525048464442403836343230282624222018161412100806040199979593918987858381797775737169676563615957555351494745434139373533312927252321191715131109070502127',98 :'12.09876533181089888786858483828180797877767574737271706968676665646362616059585756555453525150494847464544434241403938373635343332313029282726252423222120191817161514131211100908070605040301118',99 :'12.2222221210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010100109',100 :'12.34567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991',}
print(a[int(input())])
0