QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#429993 | #7281. How to Avoid Disqualification in 75 Easy Steps | AdamGS | 65.000002 | 15ms | 3848kb | C++23 | 13.5kb | 2024-06-03 09:33:36 | 2024-06-03 09:33:36 |
Judging History
answer
#include "avoid.h"
using namespace std;
typedef long long ll;
#define rep(a, b) for(int a = 0; a < (b); ++a)
#define st first
#define nd second
#define pb push_back
#define all(a) a.begin(), a.end()
ll dlu=35,W[1000]={2724269058,28062877729,17270080608,15842282187,12365631104,289690634,19532644545,5532615184,18308353048,27722867248,15393677520,13594081556,24844055696,22590658857,22116769984,4070609072,32315089305,15446706498,33440297472,27648878229,2022447129,20775493648,11323597057,33554747405,26341777480,17762919880,1351430154,12566841345,3717210214,5149016064,2404728897,28219352794,32506513025,26909626884,1814709316,607249028,22852411933,23697839523,17358262618,17198813424,28731901972,30374563857,1645749638,30010246436,21477074257,8652259416,21544568347,1420105998,4849160509,22250792841,26986170906,28589778004,26268939788,24075681792,23773447158,11612467434,8712717603,14569984049,26898107657,9690942340,20109033472,8718061604,9680590230,3025797976,12113178248,31277196380,18665787399,13621100812,751970692,19867900228,18421598288,17988660000,8607270074,23975757832,5052438025,2550927713,10656696464,101910546,604216224,28649719041,26009556288,6840955144,16671506950,7660438467,27385864739,3693741424,5493659648,10747515010,11213998465,4780982804,9534746665,2361672345,3112993162,22688022532,19369654560,19973934592,4631200339,5366612001,8591097474,8063029800,5408561164,181800998,14378167440,27904837704,5925783816,13164363813,23765371712,754981275,30086841880,5117907714,6645892738,29184766052,135316548,2224063621,31140073989,11956687748,6954238080,8875900980,2491570884,18526465027,8659853320,26862977383,9401406976,18467629196,10767699972,19193336950,24491393160,2753467425,30468805731,25636294660,27441252681,8103425636,12472221956,2288294016,18715058251,9805358082,623592469,19682002056,19330589728,28425201669,23639827080,33323585540,1158807933,672342888,3659798546,10032965894,30846509124,3960555018,10780164864,10857817088,10033892724,31545434625,9269706824,22895141049,19896797504,12214868458,18255752006,24108919346,7722829868,998376586,21666218624,553848115,12971516166,22114109507,17709506562,21849702604,2723186188,2892464136,20701136928,22115311744,3056078350,31548622856,32357663744,28994273293,31406978499,15460469571,26653627400,5401315457,29740237253,16071534594,8149935116,2199274784,25971247398,12684904904,11282716196,13111943557,23220227278,14705796354,11018580173,5226766468,24034582680,1782977799,29599237685,42505808,14664485648,9399976476,11393392641,30268313816,16710705169,9756278997,17753443595,3374137568,23628349723,5910334225,27000856872,1893990531,31759326216,27824555520,29111109698,20268609538,15398240259,19684721200,3463979146,22819309812,29230637856,2189756470,9144484036,689968839,20016022158,17255393419,12961884424,4985848130,23786578176,32380650541,23627563486,27537883648,19472589606,31545648297,27767308928,29712527892,32590826770,8859300051,14161079553,31175702528,23394259784,5746590474,11375283784,23960035922,14162095665,31709112341,608439761,28312748610,19807700384,30214324773,11020547784,11354048545,31746361872,6812601242,7056113681,8631746608,4463414929,27974439426,18336016544,17582688068,26410120320,8682428528,30134617176,32541538816,22369866880,25368748994,4447360768,20653057093,13020382347,5681424416,2839048,18878048513,21514461702,13239099436,29572268805,21231047938,16107114246,26464162830,18097383168,15181890052,21526241556,18327162146,8078262290,135539341,29545875655,4573374496,12384209456,14645068208,30411522832,9739315010,13162030976,1627959296,3413379168,33558372352,11480098881,10838606453,31345383952,3377659946,6713272462,5781882884,680067502,19888605058,22586604321,124010500,23625739026,8934142499,7562102024,18959380624,31676200002,22922185088,23890767879,7386333993,15487484961,18866032262,24763195486,23156246914,15912668194,29545497781,8831451273,24736967736,26492296480,29180985380,4492050432,23531165696,6255034496,32256907284,13774750286,6201442441,30419392529,16427290886,21947081216,30351042671,18631639120,6647975007,20108322816,16199205888,9283502208,28524059264,5679493120,24184890376,24703304224,25876761748,22255174256,30344741724,26618512584,15578827248,340120624,27548845153,197836806,20437405476,443326721,11851550805,9834889529,9261270600,15049702036,15101200649,19336532408,15603976545,17771397251,5127094272,26764189728,28045871392,6593485853,33653000705,20007039748,24858661004,6415712260,4045514772,4987685600,24901422080,28202529294,7677715152,875637828,10446176784,7570776577,5370546262,20758184513,16109392480,29238624498,23756610734,10018235648,9154478090,22355658038,472977480,30278819664,701517960,6635491412,9705817092,29092938281,14215808146,830681249,27666106629,18436654154,18526551076,13989577010,21864023556,5239279656,15862349920,16682946658,19529254974,29013123148,1548853530,8661778487,3414563010,1384940336,1103762312,21588134480,7365460883,34026487843,517080129,8902822049,26365662212,2746482882,25841411223,13543497893,21781095333,13707041282,6336102472,24444842624,10354270257,17590129360,12415484596,18397345912,29970596000,19985244192,22045594278,19126393088,10369679716,14538552576,26251313184,20480018946,20405845520,32235372690,32397120644,11090444454,10587556038,24832020008,20756372496,1603436704,18344050779,18815724968,5379754441,15850948755,2874707994,14314717952,13595852966,15431107078,26191792448,9677358145,14390429712,23829544998,30418420193,5022220817,6545223267,3924082689,27028374854,22422757131,23165290552,33139590169,21754028260,22692151456,11027300422,1745293633,3565585544,6617090071,32749299203,4492396681,25467829504,2488305994,22197764770,20974949194,19748168744,6446793549,3561652297,22489903232,3259810818,24361773570,30610490592,9962261633,1556351250,15304673284,10840259265,8545245184,17421059840,14506137601,32356220956,6781347975,28588647726,19765664905,24229577601,5465707714,18998237238,23283222528,26487652460,1881768512,20055883796,23706386506,14308215041,5503981416,3767255106,33315456090,1408303680,14989263872,27531772864,12366955019,3075489802,4456483922,18927359029,1904633896,21480801393,30235068672,32158287360,2227897426,26815517008,6112018728,24042164242,11861692811,27744668672,24746410535,15137476865,16191206404,26531074180,18842534208,10419392768,9129114888,4669179906,16146039562,31943890489,20805787792,30810874369,8149078049,32788072448,27057885330,503992610,877192385,21533970016,10301607079,21956944913,25275990531,32563142724,20971543346,1632384448,1249923705,21634231124,21394096134,19612729503,19113612356,20152895008,24170894417,32216732108,521240968,5113384489,29564115208,29814838532,32248172786,26771545,33858675520,32896525444,17511497801,25502851329,5079339546,4350298370,11612488318,10890576021,10894836739,25271488773,27968365641,23563621136,31209980820,17731224672,27487384466,31829692673,17832120392,26501316625,26713694892,7789090568,25837077737,17596158976,25382629441,12226977792,32657263180,1745111277,295736645,33152388609,31038669476,32962054752,1376284000,8611745825,1262568965,32112511168,13036884072,7395672704,8275472386,30607953935,8985576468,30119726272,3808682016,21494338689,30606199008,19340820622,30822148098,18841502404,6358605832,10102915084,10000860978,13034365194,9736078442,4636033140,8607334925,26047766555,26777292931,30306996256,2424521808,2835941404,5261132809,21931368449,18440520001,11169995268,17826416770,10680805720,26117064976,18902419736,26709591960,3875753476,16744190308,19176499616,18021568545,30185410688,26984325491,19496256200,3247458012,11024765052,20277444865,17339744305,23773651809,15876493675,27942552836,17614638144,3819445888,18320723741,9410969988,15088521384,8078884879,2294024709,13431267748,8524925506,12696375456,11951410432,32598658088,6612369706,3775726628,19882058016,20709941412,5051647136,4355428800,10169684104,19359085056,22630637986,9987957332,21945661632,33203693632,32246375409,23781704034,18282479648,15169167664,6638141592,11416764930,14017500483,6749930496,15883927664,30199743558,11075323056,24193025041,18757066857,9225438360,22444261505,52048136,134230714,25158058242,15922693793,12701665313,4447024641,252293129,24999629079,14680069264,12186552363,1900024508,9887058536,5048124480,26634969858,18691134025,1788885528,13594542130,15051572265,1208570531,16710633704,2827104307,27389871344,15872500420,1084438914,18144570369,16777224606,23410868760,32354948033,28054081600,13489877068,22633055846,21207223303,22116867136,24466989312,15049430756,17754245121,7692780088,18525329552,23723627030,7249134100,13233058842,18465462545,4026770496,1006973600,15193089356,1242136807,2318053664,4565656208,8609346329,33412614476,22793162897,26716026883,1212286380,13393592848,30643736634,33638384393,1218591284,22885354016,27250133028,3229991634,28869628930,8808423760,31837061458,3113526320,11612495026,31612605713,4571378192,12988917256,29756502034,26068657794,10411065388,12116462661,851974352,7668105793,10253013840,24985615521,31041650920,27691384874,29869449728,29935356196,15384782117,26921149205,31169474584,19767792323,20841634304,17926611209,26046696369,2694398404,14086078984,16513983488,14094370120,3758465094,26058573850,32352952354,11484129296,18595456013,9136863266,6769692994,7587788322,21710377364,9684704836,27437212674,17626767373,9915361984,3515634194,492349984,6181617704,13081039888,18299357704,5814001684,9033565460,3263873795,21442150464,26958630914,11443085826,23358113314,3360392513,19866715050,19814957273,25779562496,180367236,22309871617,28539357527,29607735604,30236219411,18583137344,19365119388,33030948516,10817163324,19372597292,19076104640,31201517952,9193921656,16304310481,30935097424,13770262292,28525530892,1259742218,16137225232,21682479659,21990015234,9030599187,32213052475,25074075010,24981387426,21442994258,33036961801,30539269713,514662920,24226751760,11922370816,30656834592,18853687312,4838377985,20035187715,1214316885,19381894228,11327316242,10959852124,25775589768,26576185957,18253887644,22723768656,14503938860,29396845571,30597845280,20217479713,25988432138,291512448,9670050227,11007545992,173015231,30166229649,2376544,13967299659,12352758105,25546523025,24939618438,7392605536,20487099792,22584076608,14538883074,9302335504,11855467078,2652700684,31507940741,32017440768,11912427137,16265556239,7638881858,17222116620,2726470250,9697609088,33655244898,25770301960,26806065250,9199196294,25368220422,30284366596,23683212307,17315798026,10343439360,4886727056,5059528716,2492416056,23905723144,22241609352,7565181192,17855152454,13493478416,29449274752,11066687684,23693885840,28552472064,12104958215,26994625832,28394787084,14364647428,5645336643,1612884184,11073525016,1640628256,20540674466,28219311638,22236712962,31676473537,20704211040,10746602518,8629070978,21030298944,15495341187,10609000837,9516093824,26138952120,1761936973,25879524394,32352786953,1214393521,30472703120,23190641221,18850251884,5399710724,25040077346,13175400979,9183429334,20411747850,13531122332,23625750945,15637945296,32129518240,18275923977,1392777325,15667957824,27967754757,24451482180,22058928676,17197763207,19689378368,29966381120,27198308554,29000697632,12988201093,14285975651,14439817218,13096551297,29026769064,23916992548,5513683689,30419539201,8779827203,17818159364,13304993829,4357136448,20908674240,12624885892,25597844864,699016720,7009252420,29740126720,369202193,5304909920,28074585488,14850091013,18255499552,12570397716,21752938776,18527381264,29074949923,2390323200,13164896434,20177788980,23219827269,10613855272,10603500882,32511116074,220230701,27588299440,8741586744,26005704864,28858000597,7575766289,15169098157,8767181858,24432241408,11026997520,18139058816,17458902528,26249609496,15054284878,5788412872,28641012232,5808635968,8188876872,11289134818,25870469093,12666941008,18275803522,30920691921,28066414614,30318007344,31311583297,3443847744,4844212232,20217876485,2766700994,11117364242,31434214008,30912486912,23750256096,113672196};
pair<int,int>solve0() {
rep(i, 10) {
vector<int>A;
for(int j=1; j<=1000; ++j) if(j&(1<<i)) A.pb(j);
send(A);
}
vector<int>T=wait();
int ans=0;
rep(i, 10) ans+=(1<<i)*T[i];
return {ans, ans};
}
pair<int,int>solve1(int x) {
int po=x, ko=1001;
while(po<ko) {
int sr=(po+ko)/2;
vector<int>P;
for(int i=po; i<=sr; ++i) P.pb(i);
send(P);
vector<int>T=wait();
if(T[0]) ko=sr; else po=sr+1;
}
return {po, po};
}
pair<int,int>solve2() {
int a=solve1(1).st;
int b=solve1(a+1).st;
if(b==1001) b=a;
return {a, b};
}
pair<int,int>solve3() {
rep(i, 10) {
vector<int>A, B;
for(int j=1; j<=1000; ++j) if(j&(1<<i)) B.pb(j); else A.pb(j);
send(A);
send(B);
}
int x=0;
vector<int>T=wait(), P;
rep(i, 10) if(T[2*i] && T[2*i+1]) P.pb(i); else if(T[2*i+1]) x+=1<<i;
if(P.size()==0) return {x, x};
int a=x+(1<<P[0]), b=x;
if(P.size()==1) return {a, b};
rep(i, P.size()-1) {
vector<int>A;
for(int j=1; j<=1000; ++j) {
if((j&(1<<P[i])) && (j&(1<<P[i+1]))) A.pb(j);
if(!(j&(1<<P[i])) && !(j&(1<<P[i+1]))) A.pb(j);
}
send(A);
}
T=wait();
rep(i, T.size()) {
if(T[i]) {
if(a&(1<<P[i])) a+=1<<P[i+1]; else b+=1<<P[i+1];
} else {
if(a&(1<<P[i])) b+=1<<P[i+1]; else a+=1<<P[i+1];
}
}
return {a, b};
}
pair<int,int>solve4() {
rep(i, dlu) {
vector<int>P;
rep(j, 1000) if(W[j]&(1ll<<(ll)i)) P.pb(j+1);
send(P);
}
vector<int>T=wait();
rep(i, 1000) rep(j, i+1) {
bool ok=true;
rep(l, dlu) {
int x=0;
if((W[i]&(1ll<<(ll)l)) || (W[j]&(1ll<<(ll)l))) x=1;
if(x!=T[l]) ok=false;
}
if(ok) return {j+1, i+1};
}
return {-1, -1};
}
pair<int,int>scout(int r, int h) {
if(r==10) return solve0();
if(r==20) return solve2();
if(r==30) return solve3();
return solve4();
}
詳細信息
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 1ms
memory: 3612kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #2:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #3:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #4:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #5:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #6:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #7:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #8:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #9:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #10:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Subtask #2:
score: 5
Accepted
Test #11:
score: 5
Accepted
time: 1ms
memory: 3576kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #12:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #13:
score: 0
Accepted
time: 1ms
memory: 3568kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #14:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #15:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #16:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #17:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #18:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #19:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #20:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #21:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #22:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #23:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #24:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #25:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #26:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #27:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #28:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #29:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #30:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #31:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #32:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #33:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #34:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #35:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #36:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #37:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #38:
score: 0
Accepted
time: 1ms
memory: 3508kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #39:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #40:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #41:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #42:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #43:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #44:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #45:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #46:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #47:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #48:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #49:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #50:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
\x14
output:
result:
ok Correct: 19 robot(s) used, 19 hour(s) passed
Test #51:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #52:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #53:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #54:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #55:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #56:
score: 0
Accepted
time: 1ms
memory: 3508kb
input:
\x14
output:
result:
ok Correct: 19 robot(s) used, 19 hour(s) passed
Test #57:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
\x14
output:
result:
ok Correct: 10 robot(s) used, 10 hour(s) passed
Test #58:
score: 0
Accepted
time: 1ms
memory: 3792kb
input:
\x14
output:
result:
ok Correct: 19 robot(s) used, 19 hour(s) passed
Test #59:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #60:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #61:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
\x14
output:
result:
ok Correct: 12 robot(s) used, 12 hour(s) passed
Test #62:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #63:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #64:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #65:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Subtask #3:
score: 10
Accepted
Test #66:
score: 10
Accepted
time: 1ms
memory: 3832kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #67:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #68:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #69:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #70:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #71:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #72:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #73:
score: 0
Accepted
time: 1ms
memory: 3844kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #74:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #75:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #76:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #77:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #78:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #79:
score: 0
Accepted
time: 1ms
memory: 3496kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #80:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #81:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #82:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #83:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
\x1e
output:
result:
ok Correct: 25 robot(s) used, 2 hour(s) passed
Test #84:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #85:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #86:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #87:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #88:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #89:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #90:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #91:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #92:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #93:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #94:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #95:
score: 0
Accepted
time: 1ms
memory: 3516kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #96:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #97:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #98:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #99:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #100:
score: 0
Accepted
time: 1ms
memory: 3568kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #101:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #102:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #103:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #104:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #105:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #106:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #107:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #108:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #109:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #110:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #111:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #112:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #113:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #114:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #115:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #116:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #117:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #118:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #119:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Subtask #4:
score: 40
Acceptable Answer
Test #120:
score: 40
Acceptable Answer
time: 13ms
memory: 3628kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #121:
score: 40
Acceptable Answer
time: 2ms
memory: 3532kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #122:
score: 40
Acceptable Answer
time: 2ms
memory: 3648kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #123:
score: 40
Acceptable Answer
time: 1ms
memory: 3596kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #124:
score: 40
Acceptable Answer
time: 1ms
memory: 3812kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #125:
score: 40
Acceptable Answer
time: 5ms
memory: 3588kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #126:
score: 40
Acceptable Answer
time: 15ms
memory: 3844kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #127:
score: 40
Acceptable Answer
time: 3ms
memory: 3504kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #128:
score: 40
Acceptable Answer
time: 14ms
memory: 3524kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #129:
score: 40
Acceptable Answer
time: 3ms
memory: 3632kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #130:
score: 40
Acceptable Answer
time: 7ms
memory: 3628kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #131:
score: 40
Acceptable Answer
time: 15ms
memory: 3536kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #132:
score: 40
Acceptable Answer
time: 10ms
memory: 3600kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #133:
score: 40
Acceptable Answer
time: 7ms
memory: 3596kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed
Test #134:
score: 40
Acceptable Answer
time: 3ms
memory: 3632kb
input:
K
output:
result:
points 0.53333336110 points 0.53333336110 Correct: 35 robot(s) used, 1 hour(s) passed