AlsoAnotherTest

AuthorAlphazone
Submission date2018-07-12 10:53:44.537550
Rating4620
Matches played280
Win rate39.64

Use rpsrunner.py to play unranked matches on your computer.

Source code:

HARDCODED = True
if input == "":
    import random
    import uuid
    import pickle
    
    nvm = 10
    nops = 6
    naddr = 10
    
    if not 'vms' in locals():
        if HARDCODED:
            vms = [
            b'(dp0\nVpc\np1\nL8L\nsVdp\np2\nL6L\nsVp\np3\n(lp4\n(lp5\nF0.2289171208901997\naF0.17449233080377227\naF0.15638628296832646\naF0.0767284366257768\naF0.13768890476223553\naF0.22578692394968905\naa(lp6\nF0.22780711866002398\naF0.2026157944294835\naF0.13295302670917664\naF0.20248627989857976\naF0.030250418976764636\naF0.20388736132597157\naa(lp7\nF0.2404067343199124\naF0.014993910924230556\naF0.26508771977822476\naF0.029877725726345165\naF0.14696650653289559\naF0.3026674027183916\naa(lp8\nF0.08048963637152629\naF0.09442997112431131\naF0.0843592828444918\naF0.36235478789566683\naF0.009488505770134516\naF0.3688778159938693\naa(lp9\nF0.0594658311811781\naF0.4969508345468998\naF0.14978089544540038\naF0.1150750984736964\naF0.025405763222254574\naF0.15332157713057076\naa(lp10\nF0.23852285491076686\naF0.001289611543805103\naF0.045693943437871185\naF0.2803879651368372\naF0.2901865806483833\naF0.14391904432233638\naa(lp11\nF0.0421383840231099\naF0.2046804054501554\naF0.3028417819466109\naF0.24325131443007575\naF0.04952260911188427\naF0.1575655050381638\naa(lp12\nF0.04574977681583891\naF0.21911247328500247\naF0.2254269728930714\naF0.19982211980057366\naF0.236928695202595\naF0.07295996200291861\naa(lp13\nF0.12045204594805863\naF0.0934286304498346\naF0.18183742832416883\naF0.11090791474420682\naF0.32321649381963524\naF0.17015748671409592\naa(lp14\nF0.11551983721401425\naF0.2633205131506396\naF0.218162740363706\naF0.20215390215234566\naF0.11574937724905933\naF0.08509362987023525\naasVd\np15\n(lp16\nL2L\naL2L\naL1L\naL2L\naL1L\naL0L\naL0L\naL2L\naL2L\naL2L\nasVrounds\np17\nL1848150L\nsVscore\np18\nL-56L\nsVfitness\np19\nL4528563L\nsVmove\np20\nVS\np21\nsVid\np22\nccopy_reg\n_reconstructor\np23\n(cuuid\nUUID\np24\nc__builtin__\nobject\np25\nNtp26\nRp27\n(dp28\nVint\np29\nL128128284500284899857419449533619050142L\nsbs.'
            , 
            b'(dp0\nVpc\np1\nL2L\nsVdp\np2\nL6L\nsVid\np3\nccopy_reg\n_reconstructor\np4\n(cuuid\nUUID\np5\nc__builtin__\nobject\np6\nNtp7\nRp8\n(dp9\nVint\np10\nL129390736575596381986267599841831810647L\nsbsVd\np11\n(lp12\nL0L\naL2L\naL0L\naL1L\naL-1L\naL0L\naL1L\naL0L\naL0L\naL1L\nasVrounds\np13\nL2047950L\nsVscore\np14\nL-39L\nsVfitness\np15\nL3466391L\nsVmove\np16\nVP\np17\nsVp\np18\n(lp19\n(lp20\nF0.0005806454482681917\naF0.09098916616084943\naF0.287129095163024\naF0.3210954582701333\naF0.11486251547575423\naF0.1853431194819708\naa(lp21\nF0.07409278202170229\naF0.30922252381285714\naF0.026690646995325536\naF0.35963679866011544\naF0.17237138529902024\naF0.05798586321097945\naa(lp22\nF0.04028437604131292\naF0.08933307755594624\naF0.24724096030487194\naF0.2681403026859284\naF0.30195280613716197\naF0.053048477274778356\naa(lp23\nF0.005587408259619328\naF0.3179441128976322\naF0.18227230209610426\naF0.1732896894440833\naF0.2477344285033076\naF0.07317205879925336\naa(lp24\nF0.0374646710287102\naF0.1759327084707446\naF0.17552207712734716\naF0.2365427486057089\naF0.2477608273409674\naF0.12677696742652173\naa(lp25\nF0.04616325925615098\naF0.20100686134692958\naF0.32625136520126424\naF0.19193036819653503\naF0.004781672938065363\naF0.2298664730610549\naa(lp26\nF0.02903291123670676\naF0.15914622777407678\naF0.1601089081052142\naF0.06615732338913301\naF0.18475869698443245\naF0.40079593251043677\naa(lp27\nF0.19237585061289839\naF0.10191652440473033\naF0.24398537220989475\naF0.0021972623738917025\naF0.1417889104168915\naF0.31773607998169345\naa(lp28\nF0.09919904633862084\naF0.004036563798223947\naF0.16848771025283574\naF0.10369995714778335\naF0.2813903510378025\naF0.3431863714247337\naa(lp29\nF0.04401625570013945\naF0.34069940666934945\naF0.012461903399378093\naF0.1559059326997964\naF0.09509156243276357\naF0.351824939098573\naas.'
            , 
            b'(dp0\nVpc\np1\nL7L\nsVdp\np2\nL6L\nsVid\np3\nccopy_reg\n_reconstructor\np4\n(cuuid\nUUID\np5\nc__builtin__\nobject\np6\nNtp7\nRp8\n(dp9\nVint\np10\nL313142413520555105929978949473519112087L\nsbsVd\np11\n(lp12\nL1L\naL1L\naL-3L\naL-1L\naL1L\naL2L\naL1L\naL3L\naL-1L\naL1L\nasVrounds\np13\nL2347650L\nsVscore\np14\nL-65L\nsVfitness\np15\nL2977361L\nsVmove\np16\nVP\np17\nsVp\np18\n(lp19\n(lp20\nF0.10034522741154378\naF0.025309803414408683\naF0.4040826780309822\naF0.043136862311070195\naF0.09858970362232188\naF0.3285357252096733\naa(lp21\nF0.002279290447832452\naF0.3257118040653451\naF0.2357599486499663\naF0.31281289883862856\naF0.10221554231231479\naF0.021220515685912843\naa(lp22\nF0.020590184214158095\naF0.1814925188423481\naF0.16063540312585692\naF0.259502025614171\naF0.3374414245399658\naF0.04033844366350013\naa(lp23\nF0.18136837162697417\naF0.1894492673308533\naF0.17383117550965624\naF0.19985982624235582\naF0.08528835956222643\naF0.1702029997279339\naa(lp24\nF0.15714214308414012\naF0.16723569653227283\naF0.12664046540229387\naF0.16105693195501042\naF0.1725198596205356\naF0.21540490340574714\naa(lp25\nF0.31509887338353665\naF0.2374205960088722\naF0.046928360940089654\naF0.038058543153589294\naF0.095106378817476\naF0.2673872476964363\naa(lp26\nF0.025843300491130247\naF0.0708973760772749\naF0.1467128162808919\naF0.3665266138626817\naF0.25709366105700165\naF0.13292623223101965\naa(lp27\nF0.2265324717436944\naF0.26138589973996557\naF0.11458176950906081\naF0.13895859050401146\naF0.04358952049787364\naF0.21495174800539427\naa(lp28\nF0.2750997017210757\naF0.1077228007836091\naF0.055045599346191576\naF0.200558240088326\naF0.1680138253685258\naF0.19355983269227187\naa(lp29\nF0.09117314712475535\naF0.2560183773514142\naF0.13727451777299907\naF0.2768917250149464\naF0.11989855541106323\naF0.11874367732482156\naas.'
            , 
            b'(dp0\nVpc\np1\nL2L\nsVdp\np2\nL9L\nsVp\np3\n(lp4\n(lp5\nF0.0816790111265622\naF0.2659247568187236\naF0.016006814719937052\naF0.2668834358363057\naF0.0920448452209421\naF0.2774611362775295\naa(lp6\nF0.21984952517601933\naF0.17762502148159973\naF0.2649175905446955\naF0.021049226823490082\naF0.239441113771941\naF0.07711752220225412\naa(lp7\nF0.2315300676555378\naF0.008129262338425217\naF0.09806614493966016\naF0.25662881557146033\naF0.021219877298002694\naF0.38442583219691373\naa(lp8\nF0.03270892413109212\naF0.3774295876552613\naF0.06264877719827164\naF0.16784102255866878\naF0.35797638707986545\naF0.001395301376840606\naa(lp9\nF0.10600094617678162\naF0.07092104102076789\naF0.33925025179338353\naF0.027879685845914184\naF0.40071293880725894\naF0.055235136355893846\naa(lp10\nF0.021692800969725097\naF0.07531300653222926\naF0.2497501874914026\naF0.22935210115254048\naF0.22264580671909448\naF0.20124609713500793\naa(lp11\nF0.008970294401514292\naF0.2013532942492661\naF0.29310478603680157\naF0.22942035260246618\naF0.18491226929256052\naF0.08223900341739136\naa(lp12\nF0.27059899667284665\naF0.15353716527404254\naF0.17208388604579708\naF0.020135853625964498\naF0.13854831648657576\naF0.24509578189477338\naa(lp13\nF0.28881030764192034\naF0.0013252933844870999\naF0.44332755438695426\naF0.00045315859911587177\naF0.02875730390406809\naF0.23732638208345425\naa(lp14\nF0.27811642799243175\naF0.15300085860041582\naF0.24647319480246319\naF0.05130743172719355\naF0.04293324412473234\naF0.22816884275276342\naasVd\np15\n(lp16\nL0L\naL0L\naL1L\naL1L\naL0L\naL0L\naL5L\naL2L\naL2L\naL-2L\nasVrounds\np17\nL2197800L\nsVscore\np18\nL-58L\nsVfitness\np19\nL758562L\nsVmove\np20\nVP\np21\nsVid\np22\nccopy_reg\n_reconstructor\np23\n(cuuid\nUUID\np24\nc__builtin__\nobject\np25\nNtp26\nRp27\n(dp28\nVint\np29\nL325256175890275329895352027333581289219L\nsbs.'
            , 
            b'(dp0\nVpc\np1\nL9L\nsVp\np2\n(lp3\n(lp4\nF0.03299756114892239\naF0.09046784966331922\naF0.1253985214814517\naF0.2214832530884508\naF0.23717647104569956\naF0.2924763435721564\naa(lp5\nF0.03175101252327594\naF0.29943715904580254\naF0.1311989514034359\naF0.03301335425059749\naF0.4726068164963592\naF0.03199270628052894\naa(lp6\nF0.25835023273232954\naF0.015973136880635064\naF0.14503149662593467\naF0.20097339700320713\naF0.27734736135767163\naF0.10232437540022175\naa(lp7\nF0.1485063860575631\naF0.2732203349042779\naF0.25288420165419373\naF0.15452429759246042\naF0.034716460912947736\naF0.13614831887855725\naa(lp8\nF0.23411500513948438\naF0.0346511817606076\naF0.07690007403386792\naF0.2584997098912545\naF0.011531164017737428\naF0.38430286515704826\naa(lp9\nF0.15246782922835755\naF0.3567068689790958\naF0.07606334809736318\naF0.30868259249298596\naF0.011957972335174578\naF0.09412138886702287\naa(lp10\nF0.15009479373236156\naF0.19741576939432967\naF0.07121068519423927\naF0.06283828979747065\naF0.13863246416080668\naF0.37980799772079205\naa(lp11\nF0.10223174873751076\naF0.15606336953695368\naF0.11703853581453667\naF0.23566079483918892\naF0.10033305855575608\naF0.2886724925160538\naa(lp12\nF0.012534673590244537\naF0.22086890512431984\naF0.161835194635132\naF0.23611167542662673\naF0.3296737074105015\naF0.038975843813175315\naa(lp13\nF0.10068006968781734\naF0.284004027191616\naF0.13057187434358733\naF0.28510938931931995\naF0.008674352566449575\naF0.1909602868912099\naasVdp\np14\nL0L\nsVid\np15\nccopy_reg\n_reconstructor\np16\n(cuuid\nUUID\np17\nc__builtin__\nobject\np18\nNtp19\nRp20\n(dp21\nVint\np22\nL65056741708127847942427601464830404016L\nsbsVd\np23\n(lp24\nL4L\naL0L\naL0L\naL1L\naL-1L\naL2L\naL-2L\naL0L\naL3L\naL-3L\nasVrounds\np25\nL1748250L\nsVscore\np26\nL-62L\nsVmove\np27\nVP\np28\nsVfitness\np29\nL625923L\ns.'
            , 
            b'(dp0\nVpc\np1\nL2L\nsVdp\np2\nL7L\nsVp\np3\n(lp4\n(lp5\nF0.0019585837468950582\naF0.15082403812363912\naF0.30538209018780166\naF0.13058096501169417\naF0.19395638876025925\naF0.21729793416971074\naa(lp6\nF0.09050854081652512\naF0.5297794164346936\naF0.06051260404712679\naF0.1017637601500224\naF0.10323460187339176\naF0.11420107667824048\naa(lp7\nF0.13396290828467597\naF0.10833643734737979\naF0.2503059103790109\naF0.1851082595709483\naF0.2747942867508321\naF0.047492197667153055\naa(lp8\nF0.057538208377822156\naF0.2403117479335451\naF0.22358681015622997\naF0.1682608990119017\naF0.3017668276157457\naF0.008535506904755337\naa(lp9\nF0.2755549631487598\naF0.21668543441354984\naF0.14693843282250862\naF0.18063454117342667\naF0.17809940861266785\naF0.0020872198290871388\naa(lp10\nF0.32239877270082506\naF0.0443598386531462\naF0.15639773307773183\naF0.2796888393952881\naF0.06639064084665516\naF0.13076417532635365\naa(lp11\nF0.01225124399733737\naF0.11015287945217307\naF0.17873821004467166\naF0.22559780675888055\naF0.21505491071086125\naF0.2582049490360761\naa(lp12\nF0.0140758843899982\naF0.0649094699352453\naF0.29171641628092954\naF0.26841883582434717\naF0.24803963138027163\naF0.1128397621892082\naa(lp13\nF0.10519143300974168\naF0.0737318505561642\naF0.028687077098170286\naF0.29807137637314024\naF0.18347420516013044\naF0.3108440578026532\naa(lp14\nF0.14803792377890918\naF0.04011700065705137\naF0.24335577283074\naF0.08545044291716522\naF0.3576195635639244\naF0.12541929625220985\naasVd\np15\n(lp16\nL0L\naL1L\naL1L\naL-1L\naL-1L\naL-1L\naL0L\naL1L\naL2L\naL-1L\nasVrounds\np17\nL499500L\nsVscore\np18\nL-25L\nsVfitness\np19\nL515243L\nsVmove\np20\nVP\np21\nsVid\np22\nccopy_reg\n_reconstructor\np23\n(cuuid\nUUID\np24\nc__builtin__\nobject\np25\nNtp26\nRp27\n(dp28\nVint\np29\nL298727998112960398704243240035050082264L\nsbs.'
            , 
            b'(dp0\nVpc\np1\nL2L\nsVdp\np2\nL8L\nsVid\np3\nccopy_reg\n_reconstructor\np4\n(cuuid\nUUID\np5\nc__builtin__\nobject\np6\nNtp7\nRp8\n(dp9\nVint\np10\nL297899465266232116547721711694326989510L\nsbsVd\np11\n(lp12\nL-1L\naL-1L\naL3L\naL0L\naL0L\naL0L\naL0L\naL0L\naL-1L\naL0L\nasVrounds\np13\nL2847150L\nsVscore\np14\nL-35L\nsVfitness\np15\nL355839L\nsVmove\np16\nVR\np17\nsVp\np18\n(lp19\n(lp20\nF0.09431251435997354\naF0.1940955361145886\naF0.18439619341513794\naF0.1987053638387837\naF0.2292949640051209\naF0.09919542826639528\naa(lp21\nF0.017483725571263948\naF0.30032156926345427\naF0.21711401290345475\naF0.1592553826108125\naF0.10072022838524002\naF0.2051050812657744\naa(lp22\nF0.0300027453250374\naF0.22011038062315516\naF0.1627287791922577\naF0.23063423943761732\naF0.12676936086962096\naF0.22975449455231142\naa(lp23\nF0.12831670852425572\naF0.10258454713745577\naF0.06909059319178242\naF0.21548248535114983\naF0.18432116420839678\naF0.30020450158695955\naa(lp24\nF0.008828343024477617\naF0.3147594350781936\naF0.007632059961322445\naF0.1894644057768564\naF0.15926353662734874\naF0.3200522195318013\naa(lp25\nF0.05374865582870269\naF0.02063799865708408\naF0.23394626083142064\naF0.05570267332742717\naF0.5028151386270387\naF0.13314927272832658\naa(lp26\nF0.07305974483057852\naF0.1504375849226691\naF0.4076956664070518\naF0.1617082445423214\naF0.11654435042862309\naF0.09055440886875614\naa(lp27\nF0.15632357852497406\naF0.300247765253863\naF0.011779449343997436\naF0.22570558531081267\naF0.07188632812490768\naF0.23405729344144527\naa(lp28\nF0.006554146809749313\naF0.2552175213986048\naF0.02324510647422212\naF0.13965474556731325\naF0.22338374843240097\naF0.35194473131770954\naa(lp29\nF0.17991701032886812\naF0.23384022124990594\naF0.20963629101846912\naF0.015630488138995608\naF0.2719360881528613\naF0.08903990111089982\naas.'
            , 
            b'(dp0\nVpc\np1\nL2L\nsVdp\np2\nL6L\nsVp\np3\n(lp4\n(lp5\nF0.12718393050829693\naF0.2084299842721068\naF0.21412685435191048\naF0.2630102526489618\naF0.044371031371745216\naF0.14287794684697863\naa(lp6\nF0.024068871815184148\naF0.17928357579396703\naF0.4801779783042513\naF0.02631975460991782\naF0.2742438836515032\naF0.015905935825176524\naa(lp7\nF0.06602761263832578\naF0.27375090003207253\naF0.008797931659515557\naF0.28555133716649916\naF0.32112194261526084\naF0.044750275888326155\naa(lp8\nF0.0764202231869611\naF0.0346274597241819\naF0.19430512913201736\naF0.20177392068073044\naF0.12812011169265944\naF0.3647531555834498\naa(lp9\nF0.24355822631830096\naF0.35231002684228235\naF0.10821370418625191\naF0.0022607876085319017\naF0.20550221878594296\naF0.08815503625868987\naa(lp10\nF0.02058600715074652\naF0.054267288968494275\naF0.17323937448055235\naF0.23759704711012747\naF0.2910919687497779\naF0.22321831354030147\naa(lp11\nF0.03885964203489697\naF0.2494179434467919\naF0.2014551500387978\naF0.18279233827413224\naF0.21803772923182094\naF0.10943719697356016\naa(lp12\nF0.1568146601148871\naF0.25271448633902355\naF0.13140598004478313\naF0.20626913061099392\naF0.23608699271020572\naF0.016708750180106615\naa(lp13\nF0.26214942307682587\naF0.1252793042105123\naF0.24938190885105127\naF0.019570514581485135\naF0.09031652651277731\naF0.2533023227673481\naa(lp14\nF0.25611619112238576\naF0.02608278019508407\naF0.28626859522910386\naF0.10066789824066251\naF0.1576934987611639\naF0.17317103645159984\naasVd\np15\n(lp16\nL1L\naL1L\naL1L\naL0L\naL-1L\naL1L\naL-1L\naL2L\naL0L\naL-1L\nasVrounds\np17\nL99900L\nsVscore\np18\nL-22L\nsVfitness\np19\nL285002L\nsVmove\np20\nVR\np21\nsVid\np22\nccopy_reg\n_reconstructor\np23\n(cuuid\nUUID\np24\nc__builtin__\nobject\np25\nNtp26\nRp27\n(dp28\nVint\np29\nL236360829914517138952506503756698298706L\nsbs.'
            , 
            b'(dp0\nVpc\np1\nL4L\nsVdp\np2\nL0L\nsVp\np3\n(lp4\n(lp5\nF0.022831230858354055\naF0.0643328673291834\naF0.05709586580778592\naF0.27149491292151323\naF0.25850002070006256\naF0.3257451023831008\naa(lp6\nF0.03310219562712662\naF0.36424496046954935\naF0.10028424802134583\naF0.15193359991635538\naF0.057025926731522486\naF0.2934090692341003\naa(lp7\nF0.10604688050655908\naF0.2571387975111987\naF0.11220804908636528\naF0.21883566553445985\naF0.2543708970916909\naF0.051399710269726215\naa(lp8\nF0.23242169220262443\naF0.08936653375326599\naF0.18586597292740728\naF0.19519526869422807\naF0.1988019682751689\naF0.09834856414730529\naa(lp9\nF0.12860923266839086\naF0.11659605533551222\naF0.14743879824981518\naF0.19188730108174207\naF0.18787438910188228\naF0.22759422356265738\naa(lp10\nF0.1945693818266433\naF0.09700510815580603\naF0.2104722307910734\naF0.1822019699125853\naF0.15737292338039185\naF0.1583783859335001\naa(lp11\nF0.04164293138335645\naF0.09536844007390154\naF0.327689138474794\naF0.2951853358535643\naF0.004067763685461172\naF0.23604639052892254\naa(lp12\nF0.12715178400451468\naF0.3374709024534897\naF0.05964170185930843\naF0.20385602667515915\naF0.1257340084260938\naF0.14614557658143437\naa(lp13\nF0.19788846520015843\naF0.40559744039803547\naF0.06844029751466629\naF0.08393164858034895\naF0.1050810562182875\naF0.1390610920885033\naa(lp14\nF0.12670981041361704\naF0.09224631176906105\naF0.06559726645769967\naF0.35132788450307467\naF0.20275430302172662\naF0.16136442383482083\naasVd\np15\n(lp16\nL2L\naL0L\naL1L\naL0L\naL0L\naL-1L\naL-1L\naL2L\naL0L\naL0L\nasVrounds\np17\nL1448550L\nsVscore\np18\nL-55L\nsVfitness\np19\nL31826L\nsVmove\np20\nVR\np21\nsVid\np22\nccopy_reg\n_reconstructor\np23\n(cuuid\nUUID\np24\nc__builtin__\nobject\np25\nNtp26\nRp27\n(dp28\nVint\np29\nL255429784726495191906265154703567996546L\nsbs.'
            , 
            b'(dp0\nVpc\np1\nL1L\nsVp\np2\n(lp3\n(lp4\nF0.16147207055465415\naF0.12805124449994673\naF0.020484140525577187\naF0.05663598535653463\naF0.16875698788618407\naF0.4645995711771034\naa(lp5\nF0.09364474516314922\naF0.5947050965121364\naF0.060680599252181576\naF0.14703336629993063\naF0.05026584221501229\naF0.053670350557589966\naa(lp6\nF0.22121085598115425\naF0.14000700787779138\naF0.18020422279162232\naF0.1645354765520792\naF0.16877845104892059\naF0.12526398574843242\naa(lp7\nF0.05250587003175093\naF0.1317866136723137\naF0.08499374170995952\naF0.3730303007826033\naF0.09359943660382927\naF0.2640840371995433\naa(lp8\nF0.15439909492935142\naF0.2286282851011123\naF0.1297360898281047\naF0.29970684750915416\naF0.002270364963773786\naF0.1852593176685037\naa(lp9\nF0.10218482654241313\naF0.07800159413454254\naF0.07152910830860047\naF0.21061336514516033\naF0.15846025225637259\naF0.37921085361291107\naa(lp10\nF0.0616128453821442\naF0.12109421172717974\naF0.23221358458488678\naF0.2561578534668544\naF0.10944624360131082\naF0.21947526123762418\naa(lp11\nF0.04191073030457518\naF0.14482692207628525\naF0.24228654053488832\naF0.32191623137274106\naF0.17946490490774453\naF0.06959467080376563\naa(lp12\nF0.2959482739419673\naF0.15211631106252638\naF0.05535828350505881\naF0.22419633452376383\naF0.267385997209929\naF0.004994799756754643\naa(lp13\nF0.24153949993530502\naF0.12085927315429208\naF0.18493369031312645\naF0.00897619818425167\naF0.2569870050739387\naF0.1867043333390861\naasVdp\np14\nL1L\nsVid\np15\nccopy_reg\n_reconstructor\np16\n(cuuid\nUUID\np17\nc__builtin__\nobject\np18\nNtp19\nRp20\n(dp21\nVint\np22\nL119726242579419143565246793817482939788L\nsbsVd\np23\n(lp24\nL1L\naL1L\naL0L\naL4L\naL2L\naL1L\naL1L\naL0L\naL1L\naL0L\nasVrounds\np25\nL349650L\nsVscore\np26\nL-27L\nsVmove\np27\nVP\np28\nsVfitness\np29\nL-5188L\ns.'
            ]
            vms = list(map(lambda code: pickle.loads(code), vms))
        else:
            def make():
                pspace = [[random.random() for _ in range(nops)] for _ in range(naddr)]
                for cell in pspace:
                    s = sum(cell)
                    for i in range(nops):
                        cell[i] /= s
                return {
                        "p": pspace,
                        "pc": 0,
                        "dp": 0,
                        "score": 0,
                        "fitness": 0,
                        "rounds": 0,
                        "move": "S",
                        "id": uuid.uuid4(),
                }
            vms = [make() for _ in range(nvm)]
    
    for vm in vms:
        vm["score"] = 0
        vm["d"] = [0 for _ in range(naddr)]
        
    def randselect(P):
        r = random.random()
        for i in range(len(P)):
            p = P[i]
            if r < p:
                return i
            r -= p
        return len(P) - 1
    
    def encode(x):
        if x == "S":
            return 0
        elif x == "P":
            return 1
        return 2
    def decode(x):
        x = x % 3
        if x == 0:
            return "S"
        elif x == 1:
            return "P"
        else:
            return "R"
    
    def payoff(mymove, opponents):
        if mymove == "R":
            if opponents == "R":
                return 0
            elif opponents == "P":
                return -1
            else: #S
                return 1
        elif mymove == "P":
            if opponents == "R":
                return 1
            elif opponents == "P":
                return 0
            else: #S
                return -1
        elif mymove == "S":
            if opponents == "R":
                return -1
            elif opponents == "P":
                return 1
            else: #S
                return 0
    
    def step(vm):
        def halt():
            return vm["move"]
        
        pspace = vm["p"]
        pc = vm["pc"]
        if pc >= len(pspace):
            return halt()
        
        dp = vm["dp"]
        dspace = vm["d"]
        data = dspace[dp]
        opcode = randselect(pspace[pc])
        vm["pc"] += 1
        
        if opcode == 0:
            dspace[dp] += 1
        elif opcode == 1:
            dspace[dp] -= 1
        elif opcode == 2:
            vm["dp"] = min(dp + 1, len(pspace) - 1)
        elif opcode == 3:
            vm["dp"] = max(dp - 1, 0)
        elif opcode == 4:
            return decode(data)
        elif opcode == 5:
            dspace[dp] = encode(input)
        
        return None
    def run():
        for vm in vms:
            if input != "":
                vm["score"] += payoff(vm["move"], input)
                vm["fitness"] += vm["score"]
                vm["rounds"] += 1
            vm["pc"] = 0
            res = None
            while res is None:
                res = step(vm)
            vm["move"] = res
        return max(vms, key = lambda x: x["score"])["move"]

output = run()