QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#821034#7281. How to Avoid Disqualification in 75 Easy Steps275307894a100 ✓2ms3832kbC++1412.0kb2024-12-19 11:50:442024-12-19 11:50:45

Judging History

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

  • [2024-12-19 11:50:45]
  • 评测
  • 测评结果:100
  • 用时:2ms
  • 内存:3832kb
  • [2024-12-19 11:50:44]
  • 提交

answer

#include "avoid.h"
#include<bits/stdc++.h>
#define Gc() getchar()
#define Me(x,y) memset(x,y,sizeof(x))
#define Mc(x,y) memcpy(x,y,sizeof(x))
#define d(x,y) ((m)*(x-1)+(y))
#define R(n) (rnd()%(n)+1)
#define Pc(x) putchar(x)
#define LB lower_bound
#define UB upper_bound
#define fi first
#define se second
#define eb emplace_back
#define all(x) x.begin(),x.end()
using namespace std;using ll=long long;using db=double;using lb=long db;using ui=unsigned;using ull=unsigned long long;using pii=pair<int,int>;
const int N=1e3+5,M=N*4+5,K=1000+5,mod=998244353,Mod=mod-1;const db eps=1e-9;const int INF=1e9+7;mt19937 rnd(28382);
#define Tp template<typename T>
#define Ts template<typename T,typename... Ar>
namespace Debug{
	Tp void _debug(char* f,T t){cerr<<f<<'='<<t<<endl;}
	Ts void _debug(char* f,T x,Ar... y){while(*f!=',') cerr<<*f++;cerr<<'='<<x<<",";_debug(f+1,y...);}
	#ifdef LOCAL
	#define gdb(...) _debug((char*)#__VA_ARGS__,__VA_ARGS__)
	#else 
	#define gdb(...) void()
	#endif
}using namespace Debug;
int n=1000;
int find(vector<int> S){
	if(S.size()==1) return S[0];
	int len=S.size()/2;
	vector<int> S1(S.begin(),S.begin()+len),S2(S.begin()+len,S.end());
	send(S1);
	return find(wait()[0]?S1:S2);
}
ll A[N]={
0,
255,
1823,
2919,
3499,
3795,
47196224,
5491,
6493,
7062,
9139,
9581,
10813,
11209,
11669,
13455,
16033,
17358,
17912,
19130,
21110,
22059,
22727,
54594692,
27762,
28955,
31116,
33749,
34278,
35290,
36457,
37467,
38967,
42819,
45285,
45358,
48153,
50579,
52302,
53705,
54332,
61064,
67182,
67902,
70364,
72870,
75444,
77945,
79298,
79621,
25395520,
54658592,
84629,
88673,
89416,
44048948,
99501,
102154,
104554,
107364,
111250,
121604,
122895,
132725,
134797,
135907,
137848,
138315,
139708,
140890,
148329,
148901,
149972,
153898,
155703,
159520,
161873,
166706,
169304,
174250,
179072,
185105,
187584,
193542,
197616,
202921,
205191,
209939,
210958,
221740,
229582,
14843917,
241985,
246360,
263847,
264689,
267853,
268088,
270935,
276523,
278845,
281894,
282842,
291985,
295658,
51216480,
302402,
304329,
311651,
312916,
321810,
324099,
330515,
332642,
339014,
24249152,
349828,
360603,
369713,
376320,
379296,
386368,
394700,
396311,
406154,
406817,
418020,
430916,
445488,
450712,
475909,
479282,
509057,
526009,
529644,
531274,
531905,
532854,
536071,
537297,
541620,
543027,
547866,
550786,
551500,
561310,
563568,
569954,
574023,
581721,
582820,
590237,
592981,
599457,
610350,
621600,
625187,
627723,
641728,
656626,
669890,
674017,
688461,
689926,
694531,
723602,
724552,
729866,
757936,
788694,
793125,
795480,
797752,
806657,
820561,
860302,
866576,
923520,
926731,
934426,
938068,
944448,
960524,
1036800,
1051230,
1053877,
1054534,
1056044,
1057642,
1061560,
1067339,
1068593,
1070800,
1073933,
1082780,
1084070,
1091937,
1098922,
1115335,
1118503,
1121928,
1124784,
1134824,
1139786,
1148466,
1153553,
1159252,
1163564,
1180315,
1190662,
1200206,
1206298,
1215570,
1218712,
1222149,
1246028,
1247345,
1270656,
1294355,
1311698,
1316227,
1320588,
1321186,
1323337,
1333385,
1340512,
1360688,
1379369,
1403920,
1441965,
1444641,
1475876,
1542336,
1573857,
1583320,
1589453,
1590610,
1614276,
1616656,
1636356,
1639722,
1640324,
1663004,
1706373,
1710612,
1753640,
1788929,
1811520,
1872902,
1902599,
1904848,
1909284,
1966186,
2011152,
2100444,
46174368,
2106595,
2107471,
2110292,
2112290,
2115378,
2120112,
2122194,
2130235,
2136800,
2140753,
2145540,
2151045,
2151506,
2163433,
2166113,
2166935,
2185241,
2196788,
2220136,
2228798,
2239768,
38536208,
39346320,
2252289,
2263189,
2269424,
2279042,
2295177,
2305538,
2315524,
2332192,
2359751,
2363208,
2384421,
2386442,
2393103,
2428988,
2433236,
2444418,
2462912,
2470176,
2495124,
2541577,
2558276,
2625897,
2631052,
2640011,
2640996,
2674978,
2689606,
2703672,
2716161,
2720641,
2730128,
2754898,
2757412,
2770193,
22290438,
2834499,
2901510,
2917552,
2918952,
2968080,
3027104,
3150449,
3156019,
3159306,
3166882,
3195206,
3214481,
3223692,
3236129,
3260948,
3313671,
3317833,
3346626,
3409669,
3424302,
3428625,
3448854,
3703905,
3825670,
3940930,
3953672,
3965004,
4096129,
4197605,
4199641,
4201735,
4203244,
4203579,
4204883,
4213529,
4216877,
4223456,
4228901,
4233640,
4236828,
4243670,
4252422,
4262818,
4265872,
51644452,
4277921,
4285001,
4292956,
4297254,
4302120,
4314129,
4329930,
4338309,
4351124,
4351242,
4358923,
4367808,
4391034,
4410884,
4419652,
4457081,
4460830,
4470836,
4479297,
4494500,
4522214,
4546819,
4557321,
4588210,
4600912,
4622433,
4656152,
4722480,
4735143,
4752978,
4765714,
63439154,
4834400,
4857885,
4860961,
4868488,
82263,
4924944,
4981644,
4986180,
5005858,
5016194,
5095436,
5183552,
5265926,
5277756,
5286021,
5289025,
5295392,
5313093,
5375904,
5387024,
5391457,
5423244,
5476385,
5505365,
5532161,
5583876,
5587648,
5689600,
5769318,
5771666,
5793344,
5801225,
5836825,
6294468,
6305297,
6308028,
6327427,
6353160,
6367780,
6407426,
6428756,
6434914,
6439648,
6521616,
6564898,
6588498,
6627976,
6685258,
6705288,
6816372,
6820906,
6856753,
6865296,
6882380,
6887808,
7143745,
7241734,
7398528,
7406106,
7407629,
7477536,
7537712,
7618946,
7864403,
8208416,
8394658,
8396388,
8399224,
8401223,
8407257,
8408710,
8413294,
8414776,
8422031,
8423651,
8430746,
8434068,
8440116,
8443169,
12191784,
8454955,
8455513,
8457668,
8463244,
8497712,
8511768,
8522660,
8523837,
26616321,
8561236,
8579105,
27897856,
8597800,
8604930,
8606528,
8655507,
8657422,
8662672,
8693508,
8706116,
8724509,
8733352,
8747009,
8783554,
8798486,
8814993,
8815148,
8851463,
8857696,
8919189,
8926249,
8931654,
8940609,
8946804,
8967298,
8983008,
8996361,
9052776,
9110037,
9134240,
9175273,
9176468,
9212481,
9257072,
9278720,
9438315,
9452037,
9459810,
9461910,
9464480,
9515281,
9552449,
9575744,
9610504,
9637392,
9644161,
9699686,
9701992,
9736218,
9970821,
9976072,
9995912,
58856520,
10093094,
10100803,
10113408,
10486486,
10491657,
10520966,
10531843,
10536460,
10555730,
10581056,
10623624,
10698898,
10773664,
10781219,
10880081,
10897600,
11019013,
11026455,
11111428,
11278360,
11346946,
11420416,
11468812,
11543636,
11567224,
11587720,
11602084,
11665802,
11799824,
11878409,
12124930,
12361984,
12586764,
12604520,
12626210,
12650068,
12670994,
12717456,
12724235,
12734626,
12746835,
12853362,
12879370,
12894536,
13042848,
13109786,
13115856,
13263364,
13336705,
13381762,
13631885,
13670976,
13895204,
13992072,
14041168,
14176776,
14262784,
14686481,
14721345,
232005,
15011972,
15221028,
15737384,
15803393,
16255168,
16783844,
16784025,
16790806,
16795308,
16797460,
16798821,
16802403,
16804020,
16812429,
16815630,
16818298,
16829314,
16838960,
16844891,
16846056,
16860753,
16867660,
16876085,
16886789,
16888992,
16909722,
16922152,
16925394,
22555664,
16951618,
16957637,
16975142,
16984708,
16994584,
17046098,
17048857,
17051394,
17056178,
62988802,
17117336,
17122346,
17137934,
17170535,
17189137,
17219880,
17269408,
17302859,
17310362,
17317000,
17322374,
17342016,
17371442,
17417473,
17461257,
17465560,
17476097,
17506449,
17597124,
17630236,
17697924,
17793042,
17830059,
17838668,
17876800,
17883672,
17894180,
17899574,
17978528,
17993828,
18040976,
18089172,
18093585,
18164032,
18210817,
18252035,
18352412,
18374880,
18384945,
18401290,
18428288,
18490656,
18878008,
18908008,
18915367,
18929984,
18958350,
19008067,
19012626,
19106056,
19147044,
19153520,
19173513,
19187201,
19203408,
19275804,
19400213,
19464358,
19468376,
19474048,
19531813,
19571720,
19620096,
19923843,
19958976,
20021509,
20186185,
20189234,
20578834,
20976457,
20999171,
21013154,
21038227,
21055240,
21138444,
21168308,
21177089,
21241472,
21250374,
21336321,
21364878,
21384256,
21497132,
21498058,
21536908,
21571624,
21692768,
21811216,
22021304,
22057236,
22169634,
22545930,
22806689,
23081004,
23107594,
23333264,
23467009,
23478788,
23675394,
24135752,
24186368,
25175244,
25184553,
25252033,
25270352,
25303174,
25311280,
25432458,
25486338,
25563472,
25580064,
25694223,
25822369,
26026017,
26227218,
26247969,
26299400,
49807624,
26478723,
8536963,
26853380,
26877972,
26935816,
27287704,
27296866,
27334016,
27402786,
27527685,
27790088,
27922500,
28315685,
28639300,
28853760,
29397521,
29474819,
29648912,
29885152,
29907008,
30507056,
31458330,
31596808,
33561686,
33565094,
33567192,
33572708,
33575331,
33580425,
43550726,
33588028,
33592853,
33595947,
33598994,
33605745,
33622644,
33624143,
33625793,
33651208,
33654968,
33655107,
33686855,
33690394,
33691048,
33736868,
33755413,
33776673,
33784857,
30478402,
33819850,
33823408,
33835527,
33855761,
33883429,
28312000,
33892620,
33948020,
33951790,
39953472,
34013379,
34084402,
34088987,
34091301,
34099908,
34114693,
34133256,
34163856,
34185506,
34226825,
34234466,
34345101,
34349617,
34381970,
34409988,
34431168,
34603629,
34604466,
34641248,
34677267,
34687522,
34743492,
34756613,
34771522,
34801802,
52576267,
34881960,
56985600,
34906168,
35011584,
35013890,
35134082,
35185154,
35193944,
35258665,
35459360,
35666116,
35671081,
35689612,
35709220,
35719960,
35801138,
35927312,
35934732,
35989633,
35995667,
36012612,
36176659,
36222977,
36247648,
36308490,
36340128,
36390916,
36487201,
59523201,
36741282,
36864529,
36896806,
37093552,
37225796,
37235714,
37245008,
37620224,
37763680,
37766794,
37839152,
37847697,
37867530,
37890433,
37896222,
37912936,
37948482,
38019402,
38183937,
38310412,
38312128,
38338838,
38470661,
38560004,
38668322,
38798375,
38806808,
39006336,
39125003,
39469128,
39487744,
39848497,
39878734,
39977169,
54526477,
40112576,
40899332,
40901633,
41961360,
41972996,
41978576,
42049673,
42083378,
42123285,
42229833,
42238038,
42242316,
42305056,
42372224,
42467534,
42665728,
42795586,
42889216,
42993089,
43062282,
43172128,
43260672,
43335824,
43534353,
4870193,
44053064,
44130338,
44433445,
44601616,
44730432,
45232129,
50422914,
46219301,
46399751,
46418208,
46668804,
46826504,
47317268,
47579650,
2102938,
48759361,
49284736,
34867397,
50340487,
50365772,
50446358,
50488400,
50596800,
50622469,
50769922,
50791944,
50860148,
50875680,
50897161,
51003952,
51091456,
51427336,
51446342,
51478569,
51971201,
52438788,
52454080,
52506672,
52531968,
52593684,
52830273,
53018693,
53217538,
53485716,
53559809,
54550628,
54601793,
54677764,
54798472,
54870040,
55607940,
56103456,
56295440,
56635521,
57155618,
58723905,
58786160,
58851512,
59312138,
59671040,
59772956,
60821523,
60850442,
61999232,
48316800,
62948736,
62966272,
65536144,
51396880,
60105728,
46413312,
42079380,
53479530,
65148960,
2245709,
62932034
};
pii scout(int R,int H){
	if(R==10&&H==1){
		for(int i=0;i<10;i++){
			vector<int> S;
			for(int j=1;j<=n;j++) if(j>>i&1) S.push_back(j);
			send(S);
		}
		auto p=wait();
		int ans=0;
		for(int i=0;i<10;i++) if(p[i]) ans|=1<<i;
		return make_pair(ans,ans);
	}
	if(R==20&&H==20){
		vector<int> S;
		for(int i=1;i<=n;i++) S.push_back(i);
		int p=find(S);
		rotate(S.begin(),find(all(S),p)+1,S.end());
		int q=find(S);
		return make_pair(p,q);
	}
	const int k=26;
	for(int i=0;i<k;i++){
		vector<int> S;
		for(int j=1;j<=n;j++) if(A[j]>>i&1) S.push_back(j);
		send(S);
	}
	auto p=wait();ll msk=0;
	for(int i=0;i<k;i++) if(p[i]) msk|=1ll<<i;
	for(int i=1;i<=n;i++) for(int j=i;j<=n;j++) if((A[i]|A[j])==msk) return make_pair(i,j);
	assert(0);
}

详细

Subtask #1:

score: 10
Accepted

Test #1:

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

input:



output:


result:

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

Test #2:

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

input:



output:


result:

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

Test #3:

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

input:



output:


result:

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

Test #4:

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

input:



output:


result:

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

Test #5:

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

input:



output:


result:

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

Test #6:

score: 10
Accepted
time: 0ms
memory: 3492kb

input:



output:


result:

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

Test #7:

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

input:



output:


result:

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

Test #8:

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

input:



output:


result:

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

Test #9:

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

input:



output:


result:

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

Test #10:

score: 10
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: 0ms
memory: 3532kb

input:

\x14

output:


result:

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

Test #12:

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

input:

\x14

output:


result:

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

Test #13:

score: 5
Accepted
time: 0ms
memory: 3532kb

input:

\x14

output:


result:

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

Test #14:

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

input:

\x14

output:


result:

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

Test #15:

score: 5
Accepted
time: 1ms
memory: 3800kb

input:

\x14

output:


result:

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

Test #16:

score: 5
Accepted
time: 1ms
memory: 3460kb

input:

\x14

output:


result:

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

Test #17:

score: 5
Accepted
time: 1ms
memory: 3620kb

input:

\x14

output:


result:

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

Test #18:

score: 5
Accepted
time: 1ms
memory: 3504kb

input:

\x14

output:


result:

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

Test #19:

score: 5
Accepted
time: 1ms
memory: 3552kb

input:

\x14

output:


result:

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

Test #20:

score: 5
Accepted
time: 1ms
memory: 3432kb

input:

\x14

output:


result:

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

Test #21:

score: 5
Accepted
time: 0ms
memory: 3556kb

input:

\x14

output:


result:

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

Test #22:

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

input:

\x14

output:


result:

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

Test #23:

score: 5
Accepted
time: 1ms
memory: 3756kb

input:

\x14

output:


result:

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

Test #24:

score: 5
Accepted
time: 1ms
memory: 3616kb

input:

\x14

output:


result:

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

Test #25:

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

input:

\x14

output:


result:

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

Test #26:

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

input:

\x14

output:


result:

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

Test #27:

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

input:

\x14

output:


result:

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

Test #28:

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

input:

\x14

output:


result:

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

Test #29:

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

input:

\x14

output:


result:

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

Test #30:

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

input:

\x14

output:


result:

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

Test #31:

score: 5
Accepted
time: 1ms
memory: 3616kb

input:

\x14

output:


result:

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

Test #32:

score: 5
Accepted
time: 1ms
memory: 3500kb

input:

\x14

output:


result:

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

Test #33:

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

input:

\x14

output:


result:

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

Test #34:

score: 5
Accepted
time: 1ms
memory: 3620kb

input:

\x14

output:


result:

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

Test #35:

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

input:

\x14

output:


result:

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

Test #36:

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

input:

\x14

output:


result:

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

Test #37:

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

input:

\x14

output:


result:

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

Test #38:

score: 5
Accepted
time: 1ms
memory: 3600kb

input:

\x14

output:


result:

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

Test #39:

score: 5
Accepted
time: 1ms
memory: 3512kb

input:

\x14

output:


result:

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

Test #40:

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

input:

\x14

output:


result:

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

Test #41:

score: 5
Accepted
time: 1ms
memory: 3600kb

input:

\x14

output:


result:

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

Test #42:

score: 5
Accepted
time: 1ms
memory: 3500kb

input:

\x14

output:


result:

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

Test #43:

score: 5
Accepted
time: 1ms
memory: 3620kb

input:

\x14

output:


result:

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

Test #44:

score: 5
Accepted
time: 1ms
memory: 3660kb

input:

\x14

output:


result:

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

Test #45:

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

input:

\x14

output:


result:

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

Test #46:

score: 5
Accepted
time: 1ms
memory: 3596kb

input:

\x14

output:


result:

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

Test #47:

score: 5
Accepted
time: 0ms
memory: 3756kb

input:

\x14

output:


result:

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

Test #48:

score: 5
Accepted
time: 0ms
memory: 3620kb

input:

\x14

output:


result:

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

Test #49:

score: 5
Accepted
time: 1ms
memory: 3620kb

input:

\x14

output:


result:

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

Test #50:

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

input:

\x14

output:


result:

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

Test #51:

score: 5
Accepted
time: 1ms
memory: 3600kb

input:

\x14

output:


result:

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

Test #52:

score: 5
Accepted
time: 1ms
memory: 3620kb

input:

\x14

output:


result:

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

Test #53:

score: 5
Accepted
time: 0ms
memory: 3620kb

input:

\x14

output:


result:

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

Test #54:

score: 5
Accepted
time: 1ms
memory: 3616kb

input:

\x14

output:


result:

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

Test #55:

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

input:

\x14

output:


result:

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

Test #56:

score: 5
Accepted
time: 1ms
memory: 3504kb

input:

\x14

output:


result:

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

Test #57:

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

input:

\x14

output:


result:

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

Test #58:

score: 5
Accepted
time: 1ms
memory: 3556kb

input:

\x14

output:


result:

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

Test #59:

score: 5
Accepted
time: 1ms
memory: 3684kb

input:

\x14

output:


result:

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

Test #60:

score: 5
Accepted
time: 1ms
memory: 3552kb

input:

\x14

output:


result:

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

Test #61:

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

input:

\x14

output:


result:

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

Test #62:

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

input:

\x14

output:


result:

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

Test #63:

score: 5
Accepted
time: 1ms
memory: 3552kb

input:

\x14

output:


result:

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

Test #64:

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

input:

\x14

output:


result:

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

Test #65:

score: 5
Accepted
time: 1ms
memory: 3756kb

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

input:

\x1e

output:


result:

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

Test #67:

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

input:

\x1e

output:


result:

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

Test #68:

score: 10
Accepted
time: 0ms
memory: 3620kb

input:

\x1e

output:


result:

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

Test #69:

score: 10
Accepted
time: 0ms
memory: 3556kb

input:

\x1e

output:


result:

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

Test #70:

score: 10
Accepted
time: 2ms
memory: 3560kb

input:

\x1e

output:


result:

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

Test #71:

score: 10
Accepted
time: 2ms
memory: 3612kb

input:

\x1e

output:


result:

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

Test #72:

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

input:

\x1e

output:


result:

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

Test #73:

score: 10
Accepted
time: 0ms
memory: 3500kb

input:

\x1e

output:


result:

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

Test #74:

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

input:

\x1e

output:


result:

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

Test #75:

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

input:

\x1e

output:


result:

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

Test #76:

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

input:

\x1e

output:


result:

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

Test #77:

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

input:

\x1e

output:


result:

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

Test #78:

score: 10
Accepted
time: 2ms
memory: 3616kb

input:

\x1e

output:


result:

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

Test #79:

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

input:

\x1e

output:


result:

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

Test #80:

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

input:

\x1e

output:


result:

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

Test #81:

score: 10
Accepted
time: 2ms
memory: 3612kb

input:

\x1e

output:


result:

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

Test #82:

score: 10
Accepted
time: 0ms
memory: 3492kb

input:

\x1e

output:


result:

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

Test #83:

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

input:

\x1e

output:


result:

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

Test #84:

score: 10
Accepted
time: 0ms
memory: 3620kb

input:

\x1e

output:


result:

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

Test #85:

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

input:

\x1e

output:


result:

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

Test #86:

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

input:

\x1e

output:


result:

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

Test #87:

score: 10
Accepted
time: 2ms
memory: 3560kb

input:

\x1e

output:


result:

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

Test #88:

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

input:

\x1e

output:


result:

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

Test #89:

score: 10
Accepted
time: 0ms
memory: 3812kb

input:

\x1e

output:


result:

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

Test #90:

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

input:

\x1e

output:


result:

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

Test #91:

score: 10
Accepted
time: 0ms
memory: 3616kb

input:

\x1e

output:


result:

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

Test #92:

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

input:

\x1e

output:


result:

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

Test #93:

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

input:

\x1e

output:


result:

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

Test #94:

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

input:

\x1e

output:


result:

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

Test #95:

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

input:

\x1e

output:


result:

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

Test #96:

score: 10
Accepted
time: 0ms
memory: 3744kb

input:

\x1e

output:


result:

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

Test #97:

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

input:

\x1e

output:


result:

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

Test #98:

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

input:

\x1e

output:


result:

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

Test #99:

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

input:

\x1e

output:


result:

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

Test #100:

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

input:

\x1e

output:


result:

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

Test #101:

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

input:

\x1e

output:


result:

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

Test #102:

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

input:

\x1e

output:


result:

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

Test #103:

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

input:

\x1e

output:


result:

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

Test #104:

score: 10
Accepted
time: 2ms
memory: 3556kb

input:

\x1e

output:


result:

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

Test #105:

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

input:

\x1e

output:


result:

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

Test #106:

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

input:

\x1e

output:


result:

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

Test #107:

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

input:

\x1e

output:


result:

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

Test #108:

score: 10
Accepted
time: 0ms
memory: 3820kb

input:

\x1e

output:


result:

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

Test #109:

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

input:

\x1e

output:


result:

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

Test #110:

score: 10
Accepted
time: 2ms
memory: 3612kb

input:

\x1e

output:


result:

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

Test #111:

score: 10
Accepted
time: 2ms
memory: 3500kb

input:

\x1e

output:


result:

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

Test #112:

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

input:

\x1e

output:


result:

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

Test #113:

score: 10
Accepted
time: 2ms
memory: 3640kb

input:

\x1e

output:


result:

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

Test #114:

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

input:

\x1e

output:


result:

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

Test #115:

score: 10
Accepted
time: 0ms
memory: 3476kb

input:

\x1e

output:


result:

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

Test #116:

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

input:

\x1e

output:


result:

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

Test #117:

score: 10
Accepted
time: 0ms
memory: 3620kb

input:

\x1e

output:


result:

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

Test #118:

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

input:

\x1e

output:


result:

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

Test #119:

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

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: 1ms
memory: 3592kb

input:

K

output:


result:

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

Test #121:

score: 75
Accepted
time: 1ms
memory: 3748kb

input:

K

output:


result:

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

Test #122:

score: 75
Accepted
time: 1ms
memory: 3616kb

input:

K

output:


result:

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

Test #123:

score: 75
Accepted
time: 0ms
memory: 3620kb

input:

K

output:


result:

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

Test #124:

score: 75
Accepted
time: 1ms
memory: 3612kb

input:

K

output:


result:

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

Test #125:

score: 75
Accepted
time: 0ms
memory: 3548kb

input:

K

output:


result:

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

Test #126:

score: 75
Accepted
time: 1ms
memory: 3472kb

input:

K

output:


result:

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

Test #127:

score: 75
Accepted
time: 1ms
memory: 3820kb

input:

K

output:


result:

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

Test #128:

score: 75
Accepted
time: 2ms
memory: 3616kb

input:

K

output:


result:

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

Test #129:

score: 75
Accepted
time: 0ms
memory: 3752kb

input:

K

output:


result:

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

Test #130:

score: 75
Accepted
time: 1ms
memory: 3556kb

input:

K

output:


result:

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

Test #131:

score: 75
Accepted
time: 1ms
memory: 3612kb

input:

K

output:


result:

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

Test #132:

score: 75
Accepted
time: 0ms
memory: 3428kb

input:

K

output:


result:

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

Test #133:

score: 75
Accepted
time: 1ms
memory: 3656kb

input:

K

output:


result:

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

Test #134:

score: 75
Accepted
time: 1ms
memory: 3476kb

input:

K

output:


result:

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

Extra Test:

score: 0
Extra Test Passed