QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#426729#7281. How to Avoid Disqualification in 75 Easy StepsKevin5307100 ✓26ms5392kbC++2310.8kb2024-05-31 18:06:172024-05-31 18:06:19

Judging History

你现在查看的是最新测评结果

  • [2024-05-31 18:06:19]
  • 评测
  • 测评结果:100
  • 用时:26ms
  • 内存:5392kb
  • [2024-05-31 18:06:17]
  • 提交

answer

//Author: Kevin
#include<bits/stdc++.h>
#include"avoid.h"
//#pragma GCC optimize("O2")
using namespace std;
#define ll long long
#define ull unsigned ll
#define pb emplace_back
#define mp make_pair
#define ALL(x) (x).begin(),(x).end()
#define rALL(x) (x).rbegin(),(x).rend()
#define srt(x) sort(ALL(x))
#define rev(x) reverse(ALL(x))
#define rsrt(x) sort(rALL(x))
#define sz(x) (int)(x.size())
#define inf 0x3f3f3f3f
#define pii pair<int,int>
#define lb(v,x) (int)(lower_bound(ALL(v),x)-v.begin())
#define ub(v,x) (int)(upper_bound(ALL(v),x)-v.begin())
#define uni(v) v.resize(unique(ALL(v))-v.begin())
#define longer __int128_t
void die(string S){puts(S.c_str());exit(0);}
vector<int> gen(unsigned seed)
{
	mt19937 rng(seed);
	const int B=8,N=27,Limit=1000;
	vector<int> res,pool;
	for(int i=0;i<(1<<N);i++)
		if(__builtin_popcount(i)==B)
			pool.pb(i);
	shuffle(ALL(pool),rng);
	unordered_set<int> Mp;
	for(auto x:pool)
	{
		bool ok=true;
		if(Mp.find(x)!=Mp.end()) ok=false;
		vector<int> tmp;
		tmp.pb(x);
		for(auto val:res)
		{
			if(Mp.find(val|x)!=Mp.end()) ok=false;
			tmp.pb(val|x);
			if(!ok) break;
		}
		if(ok)
		{
			srt(tmp);
			uni(tmp);
		}
		if(ok&&sz(tmp)==sz(res)+1)
		{
			res.pb(x);
			for(auto val:res)
				Mp.insert(val|x);
			if(sz(res)==Limit)
			{
				cerr<<"ok"<<endl;
				return res;
			}
		}
	}
	cerr<<sz(res)<<endl;
	return res;
}
vector<int> Table26={255,32513,2064642,65044996,6491160,7090272,25383072,43257024,51929112,1823,2919,3501,3795,4985,5555,5837,6603,6837,7509,7723,9131,9590,10647,17334,17771,18812,25038,25427,26289,28727,30810,33749,34296,35726,37486,41277,42567,43115,44708,45746,48142,50333,51666,53955,55465,62564,66522,67189,68687,70117,74604,75203,76339,78233,81029,83006,83654,84881,86797,93296,95370,101193,103190,103650,108073,114995,117797,118290,129344,132730,133435,135835,136998,140335,141784,143932,144322,147953,150179,150670,153701,160011,167001,168275,169521,174865,177289,184724,187656,190548,199592,202872,207142,208967,218664,234124,237800,263847,264797,265626,271062,272942,274673,275816,280432,282810,282982,285703,289093,296030,299787,301474,310544,319653,321284,333264,344277,346344,350730,361652,366860,381969,385080,393677,400152,404896,405064,411284,420114,426850,442443,459915,464931,484866,494128,498816,526012,530314,530550,533209,535010,535609,537351,538416,541231,542149,546002,555148,559333,562144,563725,571473,574042,581926,584776,592668,594598,608451,618600,622983,633474,640800,659392,662659,680546,688159,697624,710704,721011,729417,730258,731653,741824,755012,778768,789812,791721,794208,803101,824582,828938,838528,843922,854818,861384,864278,921708,922500,985252,1051372,1053086,1053820,1058125,1058768,1063078,1066293,1067550,1068512,1077697,1078052,1084057,1086491,1090978,1096225,1099340,1116374,1117955,1130667,1134960,1136512,1140761,1149994,1155281,1171973,1183046,1184481,1189398,1212597,1212777,1230017,1239043,1246237,1272384,1311187,1321129,1324099,1329701,1344170,1350210,1370304,1377586,1401220,1410117,1444018,1446151,1455116,1459080,1465360,1509697,1552448,1587476,1601152,1608010,1611521,1614436,1622073,1638758,1642573,1643034,1691778,1704404,1708330,1722381,1724948,1835880,1843285,1852454,1910528,1920064,1980417,2100208,2100406,2102726,2106268,2108648,2111060,2111517,2115789,2118968,2120326,2128162,2130491,2131053,2133315,2148008,2150514,2157066,2168465,2169004,2173210,2188549,2207796,2231697,2238211,2245036,2247272,2252995,2263118,2293927,2326805,2328144,2343298,2367236,2378033,2380313,2385030,2394261,2401096,2429203,2431553,2433129,2446432,2459016,2469376,2491508,2515468,2531354,2556740,2582656,2624602,2626913,2667652,2703777,2703956,2724936,2754089,2763788,2764962,2824480,2884274,2926625,2950661,3000328,3064960,3147657,3154471,3158354,3182793,3182885,3212002,3254532,3293400,3293766,3334184,3346578,3364865,3419154,3457052,3474968,3551616,3670159,3677704,3678609,3719952,3875360,4063824,4198194,4199598,4203611,4204385,4208933,4209174,4211099,4213862,4215272,4216394,4221648,4229182,4233456,4240832,4263812,4264270,4265017,4285736,4294033,4300966,4309602,4331910,4334308,4342661,4351004,4355137,4358570,4391625,4411922,4436512,4442628,4460297,4460949,4475178,4485761,4501539,4506913,4508184,4522031,4524464,4536388,4596231,4610368,4620373,4621458,4661528,4721996,4736593,4745266,4746245,4752483,4754984,4784437,4790787,4819084,4870179,4882881,4925450,4985155,5017752,5070913,5121092,5277236,5284208,5296904,5300866,5317268,5318700,5359696,5377157,5386314,5444768,5510674,5539916,5588512,5645345,5767755,5785862,5845184,5900036,5948432,6030752,6293146,6326084,6334658,6340877,6350865,6370307,6382400,6427217,6459696,6557900,6560801,6701616,6833026,6857345,6883350,7008256,7151874,7340849,7358531,7369732,7476488,7606314,7686400,7700996,7884929,7899170,7931976,8011812,8392522,8395666,8398725,8399036,8402600,8408645,8409686,8412209,8413417,8424244,8425615,8438105,8450352,8458556,8459347,8464653,8478867,8495768,8497222,8521170,8527044,8534114,8546056,8553995,8566276,8568871,8585908,8599824,8635072,8652257,8657112,8661793,8683926,8718359,8720933,8726112,8735756,8750850,8783129,8784963,8863896,8866080,8926282,8931498,8934209,8946092,8947393,8970755,8979083,8981728,9003045,9013283,9053008,9175221,9187852,9198848,9221152,9324736,9376320,9443010,9445966,9455883,9473045,9552288,9569074,9577648,9633893,9640452,9687048,9716322,9724938,9834569,9873412,9971080,9984024,9994354,10029712,10038276,10068225,10093587,10492264,10514446,10521761,10527344,10571010,10586636,10617180,10659984,10666513,10695170,10750660,10764738,10784992,10902016,11032192,11051030,11076881,11158304,11274506,11411716,11534908,11560993,11567568,11573251,11625536,11870344,11993094,12076044,12590153,12595316,12635456,12685573,12705812,12714542,12732034,12755233,12821506,12886282,12910681,12911778,12979248,13107514,13243412,13501064,13654530,13697648,13762883,13779168,13863168,13894084,14160389,14442512,14691585,14692888,14697514,14749833,15016964,15024641,15220806,15274752,15345728,16154625,16252969,16783186,16787573,16789288,16790678,16795523,16796217,16800014,16807436,16812465,16817345,16818890,16823064,16844012,16850468,16851888,16855083,16879705,16884998,16892234,16911046,16916637,16925773,16930835,16955680,16958506,16974599,16991508,17044773,17056819,17057958,17072663,17083460,17115784,17129554,17158660,17175640,17178947,17204672,17205889,17276962,17306211,17310890,17318732,17321249,17338580,17383577,17393684,17433968,17442992,17467914,17535233,17547300,17564743,17592337,17634824,17662049,17695017,17703442,17830061,17843544,17859719,17860948,17875808,17888258,17930624,17973698,17993828,18033696,18063624,18099713,18122808,18156550,18221130,18359049,18399880,18424386,18509856,18514480,18884004,18902288,18919431,18925076,18942597,18977320,19022105,19045888,19079364,19144930,19214600,19237136,19415242,19421344,19465266,19562565,19924145,19925298,19929164,20006402,20041744,20193291,20197412,20513928,20713602,20972274,21010754,21014916,21053793,21060610,21120208,21129312,21176849,21275657,21385228,21432064,21496877,21500468,21567760,21595266,21760644,21823873,22022794,22024966,22062224,22069633,22085722,22087945,22154000,22286913,22808593,23071765,23077193,23134378,23208210,23218308,23612480,23724300,24395968,25192996,25199149,25232212,25281632,25309377,25313880,25363752,25429680,25440518,25526412,25575812,25690236,25725193,25761858,26220566,26227217,26239109,26416144,26804672,26869921,27132672,27263697,27301248,27334673,27464000,27525389,27568130,27665920,27863552,28262400,28328040,28838148,29361206,29381656,29395552,29493664,29503528,29627264,29968385,30672144,33561753,33561954,33565409,33571927,33574680,33577553,33582124,33588526,33592860,33599813,33616024,33620653,33632964,33637796,33640850,33647362,33654813,33670785,33686350,33694918,33699090,33706185,33709696,33724934,33734834,33743393,33751889,33756488,33800268,33818568,33822948,33841752,33858434,33866464,33868035,33882730,33895458,33983524,34013237,34081430,34093578,34119819,34120144,34151444,34153479,34212961,34300040,34340985,34346499,34408530,34416769,34423302,34488610,34505985,34605957,34607667,34625864,34669722,34739269,34744348,34758917,34768648,34800034,34899081,34906134,34969601,35094568,35133608,35145104,35209761,35227744,35397924,35443712,35655205,35672842,35684572,35707968,35719750,35730444,35758226,35768608,35783197,35918497,35934230,36050954,36176312,36213777,36225031,36280448,36325890,36569221,36701286,36714640,36786216,36866305,37003808,37032196,37094403,37257540,37355569,37759313,37782307,37801995,37880504,37947586,38011933,38038784,38053440,38109520,38121480,38150592,38301960,38326340,38342698,38404238,38413826,38436976,38797916,38804996,39075866,39338688,39429120,39846310,39856139,39912560,39985249,40059908,40129664,40337536,40632841,40897824,41030176,41951474,41986376,42042417,42061904,42235905,42238760,42287265,42352684,42468382,42471817,42535489,42635330,42649856,42665476,43028644,43123816,43147394,43262529,43385364,43516102,43528512,44042883,44065160,44302692,44312656,44504064,44581448,45156616,45694992,46154006,46155817,46275136,46301317,46473730,46679584,47191169,47226904,47390721,47450148,48768128,49414224,50352188,50374161,50421829,50463123,50531904,50594204,50615056,50862153,50868262,50905392,51002368,51152908,51282496,51314818,51398149,51708545,51906120,52494792,52562032,52727817,52758688,52855824,52978690,53223681,53519424,54527370,54538448,54577288,54579744,54919206,55149072,55644165,55650816,56632864,58723490,58738762,58794372,58892424,59047962,59250432,59775496,60588034,60837921,62918675,63046665,63185056,63504452,39714816,42078500,43040769,50332162};
pii scout(int R,int H)
{
	if(R==10&&H==1)
	{
		for(int i=0;i<10;i++)
		{
			vector<int> vq;
			for(int j=1;j<=1000;j++)
				if(j>>i&1)
					vq.pb(j);
			send(vq);
		}
		int ans=0;
		vector<int> res=wait();
		for(int i=0;i<10;i++)
			ans|=(res[i]<<i);
		return mp(ans,ans);
	}
	if(R==20&&H==20)
	{
		int l=1,r=1000;
		while(l<r)
		{
			int mid=(l+r)/2;
			vector<int> vq;
			for(int i=l;i<=mid;i++)
				vq.pb(i);
			send(vq);
			int res=wait()[0];
			if(res)
				r=mid;
			else
				l=mid+1;
		}
		int pos=l;
		l=1,r=1000;
		while(l<r)
		{
			int mid=(l+r)/2;
			vector<int> vq;
			bool fl=0;
			if(pos<l||pos>mid)
				for(int i=l;i<=mid;i++)
					vq.pb(i);
			else
			{
				fl=1;
				for(int i=mid+1;i<=r;i++)
					vq.pb(i);
			}
			send(vq);
			int res=wait()[0];
			if(res^fl)
				r=mid;
			else
				l=mid+1;
		}
		return mp(l,pos);
	}
	vector<int> mask=Table26;
	for(int i=0;i<26;i++)
	{
		vector<int> vec;
		for(int j=0;j<1000;j++)
			if(mask[j]>>i&1)
				vec.pb(j+1);
		send(vec);
	}
	vector<int> st;
	for(int i=0;i<1000;i++)
		for(int j=i;j<1000;j++)
			st.pb(mask[i]|mask[j]);
	srt(st);
	uni(st);
	assert(sz(st)==1000*1001/2);
	int Msk=0;
	vector<int> res=wait();
	for(int i=0;i<26;i++)
		Msk|=(res[i]<<i);
	for(int i=0;i<1000;i++)
		for(int j=i;j<1000;j++)
			if((mask[i]|mask[j])==Msk)
				return pii(i+1,j+1);
	assert(0);
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 3740kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #2:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #3:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #4:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #5:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #6:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #7:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #8:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #9:

score: 0
Accepted
time: 1ms
memory: 3868kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #10:

score: 0
Accepted
time: 1ms
memory: 3632kb

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: 3608kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #12:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #13:

score: 0
Accepted
time: 1ms
memory: 3828kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #14:

score: 0
Accepted
time: 1ms
memory: 3868kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #15:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #16:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #17:

score: 0
Accepted
time: 1ms
memory: 3828kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #18:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #19:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #20:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #21:

score: 0
Accepted
time: 1ms
memory: 3516kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #22:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #23:

score: 0
Accepted
time: 1ms
memory: 3792kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #24:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #25:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #26:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #27:

score: 0
Accepted
time: 1ms
memory: 3668kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #28:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #29:

score: 0
Accepted
time: 0ms
memory: 3512kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #30:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #31:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #32:

score: 0
Accepted
time: 1ms
memory: 3668kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #33:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #34:

score: 0
Accepted
time: 1ms
memory: 3824kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #35:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #36:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #37:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #38:

score: 0
Accepted
time: 1ms
memory: 3792kb

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: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #41:

score: 0
Accepted
time: 1ms
memory: 3792kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #42:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #43:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #44:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #45:

score: 0
Accepted
time: 1ms
memory: 3872kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #46:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #47:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #48:

score: 0
Accepted
time: 1ms
memory: 3672kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #49:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #50:

score: 0
Accepted
time: 0ms
memory: 3856kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #51:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 19 robot(s) used, 19 hour(s) passed

Test #52:

score: 0
Accepted
time: 0ms
memory: 3456kb

input:

\x14

output:


result:

ok Correct: 19 robot(s) used, 19 hour(s) passed

Test #53:

score: 0
Accepted
time: 1ms
memory: 3832kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #54:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #55:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #56:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #57:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 18 robot(s) used, 18 hour(s) passed

Test #58:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #59:

score: 0
Accepted
time: 1ms
memory: 3832kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #60:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #61:

score: 0
Accepted
time: 0ms
memory: 3836kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #62:

score: 0
Accepted
time: 1ms
memory: 3664kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #63:

score: 0
Accepted
time: 1ms
memory: 3668kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #64:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #65:

score: 0
Accepted
time: 0ms
memory: 3872kb

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: 21ms
memory: 5356kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #67:

score: 0
Accepted
time: 22ms
memory: 5312kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #68:

score: 0
Accepted
time: 26ms
memory: 5356kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #69:

score: 0
Accepted
time: 26ms
memory: 5264kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #70:

score: 0
Accepted
time: 26ms
memory: 5200kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #71:

score: 0
Accepted
time: 23ms
memory: 5292kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #72:

score: 0
Accepted
time: 22ms
memory: 5256kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #73:

score: 0
Accepted
time: 26ms
memory: 5280kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #74:

score: 0
Accepted
time: 26ms
memory: 5240kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #75:

score: 0
Accepted
time: 26ms
memory: 5308kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #76:

score: 0
Accepted
time: 22ms
memory: 5240kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #77:

score: 0
Accepted
time: 26ms
memory: 5256kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #78:

score: 0
Accepted
time: 26ms
memory: 5148kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #79:

score: 0
Accepted
time: 26ms
memory: 5176kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #80:

score: 0
Accepted
time: 23ms
memory: 5316kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #81:

score: 0
Accepted
time: 26ms
memory: 5128kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #82:

score: 0
Accepted
time: 22ms
memory: 5128kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #83:

score: 0
Accepted
time: 26ms
memory: 5252kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #84:

score: 0
Accepted
time: 26ms
memory: 5200kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #85:

score: 0
Accepted
time: 26ms
memory: 5240kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #86:

score: 0
Accepted
time: 26ms
memory: 5144kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #87:

score: 0
Accepted
time: 22ms
memory: 5236kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #88:

score: 0
Accepted
time: 22ms
memory: 5264kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #89:

score: 0
Accepted
time: 23ms
memory: 5288kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #90:

score: 0
Accepted
time: 26ms
memory: 5128kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #91:

score: 0
Accepted
time: 22ms
memory: 5236kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #92:

score: 0
Accepted
time: 18ms
memory: 5192kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #93:

score: 0
Accepted
time: 26ms
memory: 5140kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #94:

score: 0
Accepted
time: 26ms
memory: 5264kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #95:

score: 0
Accepted
time: 26ms
memory: 5240kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #96:

score: 0
Accepted
time: 19ms
memory: 5144kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #97:

score: 0
Accepted
time: 22ms
memory: 5284kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #98:

score: 0
Accepted
time: 26ms
memory: 5132kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #99:

score: 0
Accepted
time: 26ms
memory: 5196kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #100:

score: 0
Accepted
time: 26ms
memory: 5236kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #101:

score: 0
Accepted
time: 18ms
memory: 5368kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #102:

score: 0
Accepted
time: 26ms
memory: 5280kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #103:

score: 0
Accepted
time: 26ms
memory: 5208kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #104:

score: 0
Accepted
time: 26ms
memory: 5312kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #105:

score: 0
Accepted
time: 26ms
memory: 5308kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #106:

score: 0
Accepted
time: 22ms
memory: 5368kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #107:

score: 0
Accepted
time: 26ms
memory: 5288kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #108:

score: 0
Accepted
time: 22ms
memory: 5240kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #109:

score: 0
Accepted
time: 26ms
memory: 5200kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #110:

score: 0
Accepted
time: 26ms
memory: 5312kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #111:

score: 0
Accepted
time: 22ms
memory: 5356kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #112:

score: 0
Accepted
time: 19ms
memory: 5284kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #113:

score: 0
Accepted
time: 26ms
memory: 5316kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #114:

score: 0
Accepted
time: 22ms
memory: 5208kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #115:

score: 0
Accepted
time: 26ms
memory: 5148kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #116:

score: 0
Accepted
time: 26ms
memory: 5240kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #117:

score: 0
Accepted
time: 26ms
memory: 5132kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #118:

score: 0
Accepted
time: 26ms
memory: 5192kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #119:

score: 0
Accepted
time: 22ms
memory: 5192kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Subtask #4:

score: 75
Accepted

Test #120:

score: 75
Accepted
time: 26ms
memory: 5316kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #121:

score: 75
Accepted
time: 22ms
memory: 5352kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #122:

score: 75
Accepted
time: 22ms
memory: 5196kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #123:

score: 75
Accepted
time: 23ms
memory: 5236kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #124:

score: 75
Accepted
time: 18ms
memory: 5180kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #125:

score: 75
Accepted
time: 26ms
memory: 5204kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #126:

score: 75
Accepted
time: 22ms
memory: 5268kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #127:

score: 75
Accepted
time: 22ms
memory: 5140kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #128:

score: 75
Accepted
time: 26ms
memory: 5240kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #129:

score: 75
Accepted
time: 26ms
memory: 5364kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #130:

score: 75
Accepted
time: 26ms
memory: 5356kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #131:

score: 75
Accepted
time: 26ms
memory: 5392kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #132:

score: 75
Accepted
time: 22ms
memory: 5232kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #133:

score: 75
Accepted
time: 26ms
memory: 5132kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Test #134:

score: 75
Accepted
time: 21ms
memory: 5144kb

input:

K

output:


result:

ok Correct: 26 robot(s) used, 1 hour(s) passed

Extra Test:

score: 0
Extra Test Passed