QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#430560 | #7281. How to Avoid Disqualification in 75 Easy Steps | AdamGS | 77 | 12ms | 3844kb | C++23 | 12.3kb | 2024-06-03 23:11:57 | 2024-06-03 23:11:57 |
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=31,W[1000]={419457580,612378352,745490,767632448,910198945,1158787394,1887967755,67832385,1750206501,654509860,69471302,540252162,1092762148,572573835,95562784,647268354,915431435,1476430818,1951039545,889214214,2001743872,1244989604,1093935254,779159688,604564864,43257873,2044264483,1087644880,1619807048,1686397378,1082849,1988107392,1782593313,1084096532,1499931648,1279787578,1627438337,2241545,1094722142,815600641,1091127045,1654724320,1257801792,1530924420,58755597,1176997893,1317024401,2047123654,1091193924,285247891,94478353,422581637,1479477248,1143015908,1143571776,471441664,1114647043,346833409,1486406344,2053644294,16917805,509610073,629163444,1002754049,1526858026,161646659,1981817964,1787707401,2031198226,1217418025,1225946128,1511131212,84941473,1914865059,1946650753,406493200,1678836347,538783750,319397960,907510788,1344840297,182534440,1375770985,788554053,287492144,574820397,1278346704,427855968,554310082,1518666834,746800200,890176579,1082384928,402796953,469817420,1345067297,1696882849,8488568,872551352,1108124336,74089504,543447300,470358289,264636419,1009346692,1853964358,2011169828,1227472932,1761644862,1476766912,1681957262,27791378,2023428160,1367367772,826614277,704846858,955387905,805391396,420749368,1376033104,1491345416,2065367561,1278246940,1845700629,1880164685,1252663380,178462732,6624672,742787652,3189384,54591557,1758104192,806912544,1383612742,303708672,403719090,1879213077,1813250505,1523089496,9904169,1804081408,99490,981509704,722544162,1687429704,470165018,1484554528,1480884517,92461080,549986725,159711848,278997002,1134968962,2066120848,287592472,1384461572,1696671618,1487741442,403890242,1158037916,1490116736,706747692,1749035924,473445380,1182851864,882000901,1287804992,1149276169,1846019854,190955520,1276155274,526455297,428028104,2025947398,983662752,1888604322,1132466359,1187005896,1653641878,1753944240,1650032656,149095808,1762153569,1483514896,1959342080,302271129,306448418,414058000,1745995276,311493122,612664865,34247108,1282023968,1107428391,35825926,1828750155,43134018,451953160,7635473,872962444,2092974852,375664676,436797701,110891266,18385427,323021056,1343046850,1699780108,965370624,704908739,1631634470,1485373514,1426186761,276857934,2026050305,205830144,268505431,1083191375,1174741336,1074046471,916539920,51463201,315115802,597999696,1715961922,985661580,1381001776,1560562723,1627537873,612436650,917668368,110837792,1250965832,1627423407,1485455736,1623298578,668631168,1234248449,1174465089,1092157484,1411145992,1275216413,1264716288,1128474662,1182580740,1275906097,484707329,1372651784,1880166828,9177713,872956023,675022938,1653542432,294281354,389099560,562236612,1348473375,67935744,1447625553,14960658,2013794924,302024275,1615702017,808453798,812818440,1653252225,1011363108,1147482241,600934432,1277560937,1904889921,299630760,1243349297,4506769,2016690221,952183376,138432281,1348026660,331882544,453268360,210772337,1385253153,1875127808,1436575361,1439306368,962203936,600916080,696812690,706249736,84521604,855965827,8684125,1418559530,4854988,1359482262,1621295385,1368524544,398463114,411045577,1912755334,604209552,1147556416,1152928128,2027159685,1258633744,1833304448,827595408,538093728,658515980,142938522,677427346,880849204,746604867,991399968,108668160,1816428566,277974784,1413090321,864317986,1762594946,1158182410,1364666432,952255153,275609600,1554000658,536942384,1726358020,257098768,1636884516,5112586,302537312,470894868,2082081568,3180843,1258860558,1080578057,1352686094,789450800,1342965461,107037344,1833242632,1265902096,1918994968,336096005,1094128128,72925520,1754014752,1242826382,1478181312,896557090,1636898890,1107315590,1647907336,1615399964,1745894540,562473024,103432227,1644761450,138504290,1417675195,537272371,1126186504,606867792,2030256158,109077638,1107562130,694878340,1871708312,1684668611,1343759548,1314005521,1032585664,344035379,538149185,201925914,1896921664,1936740868,1753362823,881264658,844267572,1432617064,234013696,25465352,1380086048,828394818,691278176,134231746,1032082576,813697788,1376912757,406224992,1137746112,18948363,1012151298,1297123850,877675586,1912947269,806434916,51536390,2019885104,173318178,453038648,842158464,1358973424,805334816,565067808,1491636484,570961105,59343624,705781841,57676826,1342481760,1619044413,274864276,1157121040,340001246,239191088,39716992,1226859316,413405410,134762713,1325688904,864223889,840044161,1075913861,169968182,1898578966,587602057,1085539713,337971721,1109661761,748978308,674324487,1091634521,1077673987,135668592,155722888,684984344,1410072886,42175489,1771967744,796919043,14752002,1940952064,269511242,1242317344,698354624,1694573102,1308819681,311577864,1088469032,1805717508,509804546,1075060608,1375844364,1745143980,672278553,1078200124,1646265191,1632184585,1443377688,71328547,1292419732,17826301,166199880,2030733408,825279234,1627507392,10881676,33902642,136508448,67315204,1420046400,541465648,1611404555,171970563,109577124,1616527432,1110450418,1495269410,407377950,1968309344,1430798864,1411398081,76285050,718938176,840237724,2031890560,1116143940,1432438789,1281392714,604554267,1242571427,38561026,554341904,1102055556,84946965,1333870976,174101280,401211664,1816184984,1863454786,1883265107,1092993160,234984596,1242038468,362054928,172631082,136598801,1015603200,54602656,1292134673,504610944,1081181190,805580184,1887767904,845414739,1216371725,2099412996,1118097922,844955744,607273729,605066072,305144716,1831359616,290292288,1304560150,1979740296,650561536,747545604,1642618920,560889857,580071425,1820732544,1899544705,1783370756,541223944,1681988488,1081083192,1227098904,817891439,269934612,1391855872,1604584192,575051392,656082950,1410607528,1890355236,539579460,1107427976,245531266,691374592,101865617,1956743713,1092716432,1392689384,243343433,1143816198,289292928,44433697,1508007937,321339649,805730307,1884887171,1480597154,708452496,1564033048,235319553,8428305,33600568,1292970370,1812206356,1107854282,339250210,250937345,1914195588,738749976,34619630,1746939716,457451658,1947369743,404996180,1949233152,1412833282,556933642,1748261888,1847083020,817892659,176692262,115213313,1348578304,1111761601,37348352,113903170,101724628,139022592,591138884,827070530,1128374568,135275799,1930305668,136841332,673207371,758419472,837059586,1965592657,1804837888,547414416,1490241544,558498573,202342476,161752084,1250456896,1392512234,742400272,684597504,402720716,1477935128,404853891,399900684,788661369,1153970755,1498416340,338168071,1371996688,679559907,631243933,1250501024,1285558925,1670644228,1090691356,1162413106,751573032,610864640,79102112,1110061216,283279984,847876096,1645625922,1845757540,656965872,278940850,1644327504,1483489344,1106813440,1380485702,1353253396,1689321536,830789792,1996669440,629152102,545424228,338705666,1099514883,436625584,1865416978,671221588,1378366229,828563648,302262153,1210126569,995131716,1081413712,523241025,1896448229,1179419721,1377829433,1649215748,1482728617,50828544,1384272936,212175888,1611415612,1582830144,1560415409,151390630,554723414,1008738944,1180211201,1679004752,1155744256,16811378,583664161,542311104,278398680,348197330,1401243648,219449552,193593349,1352143117,1712854546,1024270352,89563648,2048986384,1269858337,310408740,227133442,1141380065,1344309430,354639936,1166295570,1888915746,1640411140,1024480800,289489562,1747469992,1816199321,1881481418,1678789159,841124952,1905283264,1250037328,626169860,555795333,1883803766,2090861032,570545665,548425766,1656553744,1679197320,1128841226,543180586,940708387,583312256,571544860,537155410,724173632,640753924,403069460,654400256,1904739883,195314952,1698234753,1680392546,1589940416,21135546,1210945920,1212435238,71341666,1485546506,167911770,1947333120,1040294496,1401510928,269148740,67669800,69246228,2047823872,539112384,676348309,1260556417,1393298496,1476571205,1413646729,1888362594,1851335681,1319160096,123207761,807733014,537313584,684245015,537469650,705220867,616715292,1569767489,1145091156,1800814592,891162696,918588424,218382964,1300439298,1280870016,1749763200,314770481,1111496520,278581248,1678256327,813698,521961472,202245536,1786804448,403049345,1431308493,1394886852,1630633993,1243545866,268699891,726926210,1619008597,313458728,1636369186,1359092306,419499023,285258498,750866532,1277560578,1224911154,1234567250,210634766,1480904746,86062098,1908785156,151962881,1950364364,1944059921,738465445,202703413,1959542928,138809560,1443123790,1229486160,671643777,206708866,633405620,538481349,287326923,1312034952,1997154320,1185456280,1382428688,1225162763,672173191,1979784304,1747520712,843604109,1099109376,1696858382,1697189920,1787316244,28591264,866128592,906145282,944537992,1289912584,140609121,739721281,674759451,378011778,962789728,639238163,1214398628,1698727168,539444744,303794440,1376585877,1782728195,1082405035,1291866755,397123584,344020161,1210255970,1721778181,377645060,1380925712,219163813,1629493596,1369448549,25823240,21533221,1761644084,336017664,1079338496,165151632,901795888,956871840,1121046536,1080791048,671924548,1082487816,32243725,67905101,421669185,1628455784,1386892288,1757493382,285967618,33687711,1363439713,677513274,49324037,318792729,1619331843,1260996928,849969223,456133160,570725604,823944256,1529356289,68501514,1804732720,1756567584,1207977326,1342736693,570763448,686473218,1616383080,2115127392,1414533938,117449947,178144258,277221382,1950487877,1661739331,1360143076,547139608,605327430,1208113418,168157217,142954533,1902131233,27414800,831793185,1419251009,1485054316,1755345043,156310020,134365609,642266512,186198016,188285122,574737472,1368444418,288444418,708331521,1434507072,1879446592,805655168,877004328,562333956,2094145572,1382600834,35800772,1247594504,881001158,1343378182,1252011027,1411596706,1658081312,2076771332,878182919,841225506,1288995904,337960963,1377870656,1143734953,1510549041,238559328,1101140553,754460674,12731794,1351618680,752372224,90206536,402792622,1176587305,1086603593,1553533072,203427349,1080329481,1933869612,872455336,146309377,138478471,356569220,1086653578,50446604,1946198229,129261568,136063492,543277329,155198819,1958840404,337809962,1531461856,1895893846,1663895168,1883509863,604071028,148603396,1211760900,33874956,50540571,405844640,1545437316,120326658,851608769,286661637,1687375892,714163337,2113954866,887447808,1690043400,1910544768,1092628913,1881687873,777355520,813875410,175113344,36472076,1964311552};
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();
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 0ms
memory: 3832kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #2:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #3:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #4:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #5:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #6:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #7:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #8:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #9:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
output:
result:
ok Correct: 10 robot(s) used, 1 hour(s) passed
Test #10:
score: 0
Accepted
time: 1ms
memory: 3492kb
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: 3492kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #12:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #13:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #14:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #15:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #16:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #17:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #18:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #19:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #20:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #21:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #22:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #23:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #24:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #25:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #26:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #27:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #28:
score: 0
Accepted
time: 1ms
memory: 3492kb
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: 3768kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #31:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #32:
score: 0
Accepted
time: 0ms
memory: 3488kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #33:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #34:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #35:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #36:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #37:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #38:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #39:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #40:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #41:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #42:
score: 0
Accepted
time: 1ms
memory: 3516kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #43:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #44:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #45:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #46:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #47:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #48:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #49:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #50:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
\x14
output:
result:
ok Correct: 19 robot(s) used, 19 hour(s) passed
Test #51:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #52:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #53:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #54:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #55:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #56:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
\x14
output:
result:
ok Correct: 19 robot(s) used, 19 hour(s) passed
Test #57:
score: 0
Accepted
time: 1ms
memory: 3572kb
input:
\x14
output:
result:
ok Correct: 10 robot(s) used, 10 hour(s) passed
Test #58:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
\x14
output:
result:
ok Correct: 19 robot(s) used, 19 hour(s) passed
Test #59:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #60:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #61:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
\x14
output:
result:
ok Correct: 12 robot(s) used, 12 hour(s) passed
Test #62:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #63:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #64:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
\x14
output:
result:
ok Correct: 20 robot(s) used, 20 hour(s) passed
Test #65:
score: 0
Accepted
time: 0ms
memory: 3572kb
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: 0ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #67:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #68:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #69:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #70:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #71:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #72:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #73:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #74:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #75:
score: 0
Accepted
time: 0ms
memory: 3440kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #76:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #77:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #78:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #79:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #80:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #81:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #82:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #83:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x1e
output:
result:
ok Correct: 25 robot(s) used, 2 hour(s) passed
Test #84:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #85:
score: 0
Accepted
time: 1ms
memory: 3568kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #86:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #87:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #88:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #89:
score: 0
Accepted
time: 1ms
memory: 3496kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #90:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #91:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #92:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #93:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #94:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #95:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #96:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #97:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #98:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #99:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #100:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #101:
score: 0
Accepted
time: 1ms
memory: 3528kb
input:
\x1e
output:
result:
ok Correct: 20 robot(s) used, 1 hour(s) passed
Test #102:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #103:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #104:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #105:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #106:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #107:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #108:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #109:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
\x1e
output:
result:
ok Correct: 21 robot(s) used, 2 hour(s) passed
Test #110:
score: 0
Accepted
time: 1ms
memory: 3800kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #111:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
\x1e
output:
result:
ok Correct: 23 robot(s) used, 2 hour(s) passed
Test #112:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
\x1e
output:
result:
ok Correct: 24 robot(s) used, 2 hour(s) passed
Test #113:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
\x1e
output:
result:
ok Correct: 26 robot(s) used, 2 hour(s) passed
Test #114:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #115:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
\x1e
output:
result:
ok Correct: 22 robot(s) used, 2 hour(s) passed
Test #116:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #117:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
\x1e
output:
result:
ok Correct: 29 robot(s) used, 2 hour(s) passed
Test #118:
score: 0
Accepted
time: 1ms
memory: 3840kb
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: 52
Acceptable Answer
Test #120:
score: 52
Acceptable Answer
time: 12ms
memory: 3616kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #121:
score: 52
Acceptable Answer
time: 2ms
memory: 3616kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #122:
score: 52
Acceptable Answer
time: 2ms
memory: 3844kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #123:
score: 52
Acceptable Answer
time: 1ms
memory: 3760kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #124:
score: 52
Acceptable Answer
time: 1ms
memory: 3564kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #125:
score: 52
Acceptable Answer
time: 5ms
memory: 3592kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #126:
score: 52
Acceptable Answer
time: 10ms
memory: 3636kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #127:
score: 52
Acceptable Answer
time: 5ms
memory: 3588kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #128:
score: 52
Acceptable Answer
time: 12ms
memory: 3584kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #129:
score: 52
Acceptable Answer
time: 9ms
memory: 3560kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #130:
score: 52
Acceptable Answer
time: 5ms
memory: 3528kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #131:
score: 52
Acceptable Answer
time: 4ms
memory: 3628kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #132:
score: 52
Acceptable Answer
time: 9ms
memory: 3556kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #133:
score: 52
Acceptable Answer
time: 6ms
memory: 3584kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed
Test #134:
score: 52
Acceptable Answer
time: 10ms
memory: 3528kb
input:
K
output:
result:
points 0.69333332780 points 0.69333332780 Correct: 31 robot(s) used, 1 hour(s) passed