ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1769. Old Ural Legend

WA6 please help. test inside
Posted by d3m0n1c 31 Oct 2011 01:24
Read buffer size is 100002(10^5 + 2 (13 and 10 bytes)). Zero is ignored.

Test:
140051715416348726920797036492488196690846913267128596190521765523258272915411326652499477662321559400240243025385922325531607435354460224854854789172790422082699161691921215211265020255276693637323390308581372719218697573705167311948170669560826796977119144439062473865548749290708026898940249352335596346960246701868163284769923581208100816278539874491366451178190245275148804575563207864980035188533495461464611182224503481318194894795899530095304225848561075258515826860807569347989563418218033315611641070515265583012032542413165442672199224236732385640080346148119744715525729217641134438620386384432175780764936419909263251871198373431970336511517512266991527494812295417761157131887516459605130273324209494428321604165936938643665167653110211999342131767863138213646183859400125439119368195023609875655725280252737388791975472393751757033734680275509267474303064517420298692106780786877121279815728529858832327428129275374458515191749482035839501623872449096899866212891307052433946175414882278474151155821260423095562697365713627951905205742993551837625497997687297678831484749676852899652616262745850146376974301305739477333447537362098526698167264924433959529878595635057196124356987016104438328205463212317524467228318050292845259203847171121402877003559921334843495859744812824961906330368111989214639069827401863561498684778734857131993979393179662557307601727640348561292235624615896745387290681716022726412811677020534337915714243873582584292162935131606847752537458166128916158211672513434883362277575137165381164377333050964107617571273569634163708364280245862434984938247227643998381181561255115197885772436648111386912364484076663846882710610574937181889724440263401262491510372354546523897322834076792858754892459033892893415378010753519255568675536682574837388991979158380757221808884121654323289756031354326924996020549630918886449816631013177950243583302651313968901941388546092694699169623039374195249873494704816778006496358707175931610138636441755335987526935511649196111767478998567978390545708854447325722602785228930291070742237303953635923758990854576306769236873778514591636087351666613173824714971418584238149942583566867751130449641452214078667591916847978250486137577695471025057149805045105002141257367453386625768201855725648984138453395388674327116782331666736198524359191124365681528402097502409546683398024922568207114638816155565658683581554959453928226685584754235386929381406434641844288712029945097695387943988541364148817994126492284674591494312399867899630474089786533842979677444252416920658768272981555798318568123184846109218242071122425858958913775563868252731796764376983312944032169999089764297155467858249445004100853652880834020635936460923537002526451094115605265145595301730162842368158258747510324692844060724379263261581929789186627749024264607634393031485217722547512810346197813341575443927696840903803318451283794109721440464219891997242932058539687955292724736028299424255868867208280436690345986909483548314890853905407059274943621286285642225243373714057910951435168651420867476571835382212444179524625898513369969097185140724351987213301548423922426157306439130236264606352160264757296700215299689290543672834157605315556299271366580103761959192790250853638053301393053884984126221191753952756428691739972924169588189222958677808099802376796306460453022271394636905099975310531232910060654748567949204822949656047178478216822283114516207272940195881195320962398301183392164044808522940151504769236467044801611307057810660833264392493192487502143812911497362789762973364932378325801917410896482458911224435268226253194364006108926194049046816563219567382012799938268382246120746284318425568753709407318997729961008506640332290576230087242548402270127428289777095609465678957736537455917277343141882664049504597699031267977758995330574904612158839915137799862389397804648398923769964487635930208280953973250614940625256581326859073

Answer:
147

Any suggestions ?
Re: WA6 please help. test inside
Posted by d3m0n1c 1 Nov 2011 01:50


Edited by author 01.11.2011 23:52
Re: WA6 please help. test inside
Posted by d3m0n1c 1 Nov 2011 21:05
get AC.

make sure that ALL your variables can contain 100000 bytes (even counters) ;)

Edited by author 01.11.2011 23:53