QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#314177#5447. 鸽子YeahPotato#43.18495 210ms41864kbC++14884b2024-01-25 13:47:122024-07-04 03:21:36

Judging History

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

  • [2024-07-04 03:21:36]
  • 评测
  • 测评结果:43.18495
  • 用时:210ms
  • 内存:41864kb
  • [2024-01-25 13:47:12]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
typedef __uint128_t I;
#define L(T) (T == 1 ? 10 : T == 2 ? 20 : 128)
int pigeon_num(int T, int k) {
	return 126 * (k + 1) + 3;
}

string send(int T, int n, int k, I msg) {
	string r;
	for (int i=0; i<=125; i++)
		r += string (k + 1, msg >> i & 1 ? '1' : '0');
	int c = msg >> 126;
	r += string (c, '1') + string (3 - c, '0');
	return r;
}

I receive(int T, int k, const string &msg) {
	I r = 0;
	int x[128]; string t = msg;
	for (int i=0; i<=125; i++) {
		x[i] = t[i*(k+1)] - '0';
		for (int j=i*(k+1)+1, p=j; j<(i+1)*(k+1); j++)
			if (t[j] ^ t[j-1]) {
				p = max(p, j);
				while (t[p] ^ t[j-1]) p ++;
				swap(t[j], t[p]);
			}
	}
	int c = t[126*(k+1)] - '0' + t[126*(k+1)+1] - '0' + t[126*(k+1)+2] - '0';
	x[126] = c & 1, x[127] = c >> 1;
	for (int i=127; ~i; i--)
		(r <<= 1) |= x[i];
	return r;
}

詳細信息

Subtask #1:

score: 0.01
Accepted

Test #1:

score: 0.01
Accepted
time: 73ms = 1ms + 72ms
memory: 4192kb,13848kb

input:

encode
0 6 1 444386057
1259251521813 3478565260041 1380014506318

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
0 6 10000 885
0 9081504318326079456 4035225332696382982 567468963374825468 1138848301240025088 578694968419287246 8444257758625788 144392316813838142 69875888156590067 18445635555543482617 17878155826807455488 16143153407589777376 1148435445625655246 8445331835441024 2234221049542912
0 908150...

result:

ok Accepted using 885 pigeon(s).

Subtask #2:

score: 3.99
Accepted

Test #2:

score: 3.99
Accepted
time: 108ms = 11ms + 97ms
memory: 7936kb,41612kb

input:

encode
1 20 1000 429620070
0 0 720
0 0 312
0 0 746
0 0 460
0 0 449
0 0 778
0 0 877
0 0 951
0 0 40
0 0 836
0 0 436
0 0 440
0 0 694
0 0 3
0 0 124
0 0 123
0 0 812
0 0 848
0 0 569
0 0 46
0 0 144
0 0 930
0 0 703
0 0 830
0 0 198
0 0 1023
0 0 291
0 0 804
0 0 356
0 0 122
0 0 77
0 0 162
0 0 337
0 0 461
0 0 3...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
1 20 10000 2649
556 18446743755785326421 6336248016361488383 18446744073709551614 13239805828921294848 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
363 297641276403 18446744073709551614 13392232624805615551 9184744041592389632 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

result:

ok Accepted using 2649 pigeon(s).

Subtask #3:

score: 12
Accepted

Test #3:

score: 12
Accepted
time: 22ms = 3ms + 19ms
memory: 4616kb,9176kb

input:

encode
2 1 1000 436825046
0 0 600068
0 0 609400
0 0 1024294
0 0 791018
0 0 906125
0 0 350192
0 0 938169
0 0 978316
0 0 498345
0 0 859442
0 0 990072
0 0 996124
0 0 1013379
0 0 383142
0 0 355230
0 0 636760
0 0 138612
0 0 1014140
0 0 116388
0 0 286851
0 0 689038
0 0 996312
0 0 872409
0 0 137655
0 0 165...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
2 1 10000 255
713 13524882331533312 0 0 0
757 3805542510969749504 0 0 0
908 5539090988103892992 0 0 0
656 15496178496165642240 0 0 0
884 6500171796812136448 0 0 0
185 4606002642823413760 0 0 0
280 5289576800911884288 0 0 0
307 13231893606647726080 0 0 0
96 6571652809148596224 0 0 0
91 1682417...

result:

ok Accepted using 255 pigeon(s).

Subtask #4:

score: 6.62913
Acceptable Answer

Test #4:

score: 6.62913
Acceptable Answer
time: 18ms = 3ms + 15ms
memory: 4620kb,9112kb

input:

encode
3 1 1000 387247419
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
0 0 11
0 0 12
0 0 13
0 0 14
0 0 15
0 0 16
0 0 17
0 0 18
0 0 19
0 0 20
0 0 21
0 0 22
0 0 23
0 0 24
0 0 25
0 0 26
0 0 27
0 0 28
0 0 29
0 0 30
0 0 31
0 0 32
0 0 33
0 0 34
0 0 35
0 0 36
0 0 37
0 0 38
0 0 39
0 0 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
609 13852034514815025152 0 0 0
210 5275544750999470080 0 0 0
545 13846396219187789824 0 0 0
19 16798426610091950080 0 0 0
715 17048033341783146496 0 0 0
725 15334519236684939264 0 0 0
542 6890586594714058752 0 0 0
412 1135927452887941120 0 0 0
203 17047954176945946624 0 0 0
730 ...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #5:

score: 6.62913
Acceptable Answer
time: 20ms = 3ms + 17ms
memory: 4592kb,9160kb

input:

encode
3 1 1000 713192400
4398046511103 8796093022207 8796093022207
4398046511103 8796093022207 8796093022206
4398046511103 8796093022207 8796093022205
4398046511103 8796093022207 8796093022204
4398046511103 8796093022207 8796093022203
4398046511103 8796093022207 8796093022202
4398046511103 87960930...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
105 4378624737710964735 18446744073709551615 18446744073709551615 9223372036854775807
724 17494610984520646655 18446744073709551615 18446744073709551615 9223372036854775807
428 16803598712789008383 18446744073709551615 18446744073709551615 9223372036854775807
438 118586463219362...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #6:

score: 6.62913
Acceptable Answer
time: 21ms = 0ms + 21ms
memory: 4916kb,9448kb

input:

encode
3 1 1000 645075111
4246499090569 7193484617445 1510706984766
4246499090569 7193484616421 1510706984766
277774756708 6376504105378 5077007084953
277774756708 6376504105378 5077006036377
2169844955743 2934781145354 222052734700
2169844955743 2934781145354 153333257964
1832565011110 407610944436...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
601 1303567733971042607 14749921837403339459 94574203343875071 27581407012322862
370 5209760323615058010 351274586081334120 21612021394145275 4398848094540024795
119 239637391247171220 18380415155368713876 11530326677288629888 1759758139575507364
349 4340398391415632731 92095798...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #7:

score: 6.62913
Acceptable Answer
time: 28ms = 3ms + 25ms
memory: 4620kb,9164kb

input:

encode
3 1 1000 796959971
757876296036 803151227108 5906999289291
757876427108 803151227108 5906999289291
414948469704 2976884394850 4112975556107
689826376648 2976884394850 4112975556107
2550229927214 632225161890 3388963947500
2550229796142 632225161890 3388963947500
3575646418173 3779536410297 44...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
0 17048290936836363059 9201753754810131890 1729376998561752498 2604852948438616932
202 4368702757733919680 14932605902901260224 1512788637542252538 3320412854129194335
865 5600122213438593000 1702441466813036449 7576657685746398074 3285709548992633816
990 14770958162011573260 14...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #8:

score: 6.62913
Acceptable Answer
time: 28ms = 3ms + 25ms
memory: 4616kb,9164kb

input:

encode
3 1 1000 693059695
4048401499258 4987348031799 3275997589762
134993019813 7423310534504 8175994939428
2365792583990 619504649447 278990350194
2186070068696 87980415538 8540777555842
312290816283 4681173122127 3515380653989
1091271851038 7859252399813 5032803532911
4224470394765 5800962600676 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
216 5193233115719348277 3723206706495175180 18248589262711934192 9189594598372417528
324 6051765809320017920 1686084153770992 909994029820228671 6487256835563907930
298 12928855552539908914 6485584314296702664 5598642429084676972 5432626192590822394
937 4341280650094002428 14765...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #9:

score: 6.62913
Acceptable Answer
time: 24ms = 3ms + 21ms
memory: 4592kb,9452kb

input:

encode
3 1 1000 996974621
1465918033995 8457101583533 2732887869300
2047477281607 457558740065 82047769421
3369612178778 5142868648775 7112435514295
1676953693797 8303977116040 3379317631238
1270351245252 8087071185611 3752267838689
1099073829021 3918060109511 196597372399
1805633566742 231697456066...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
288 4337033298770932485 17298261642204380951 18423804913311047487 203497640285962367
272 432259803623246113 3949073822495278590 16059499723687067725 9169972686221852671
721 11860228072184086220 10527083630228091411 7495276620469113366 7905787503415813266
212 18015765417259194975...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #10:

score: 6.62913
Acceptable Answer
time: 21ms = 0ms + 21ms
memory: 4636kb,9156kb

input:

encode
3 1 1000 467567359
1075396360258 2757333265695 4398049088394
3728381695575 7402391548472 4514883918814
1374799011090 7647171217921 190123995147
44790216706 5313744955794 3750821258544
3674429288572 5398376745208 3178068241044
1260815866700 2230538451318 1717701836490
1044427370366 52834961469...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
127 11587544236782730613 4234666281587942304 18374945122869149646 6241514533972713447
120 3552231387556928311 432075108697256179 14123020940605783893 8680723083873904592
783 1648233021106004257 3932527366729465567 16825446583974757814 5270983203510502138
243 17527798637138042049...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #11:

score: 6.62913
Acceptable Answer
time: 28ms = 3ms + 25ms
memory: 4616kb,9132kb

input:

encode
3 1 1000 598036788
3547997613716 7162316100081 8474994690705
4217635124842 180044937399 6937652241686
408564532613 557239564866 425308736666
2835923397344 4287732741367 456253791399
3227938616436 6128713171348 7177177432788
1374104573980 5915479646691 6151311367707
3059957757246 6306455341132...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
214 5600226059245196158 10521756179450377951 18358923886189871109 8409547449938778415
686 17568327054404631235 18352925158113791036 1444530635433638970 7465560766601592958
746 18364333453703230334 9655295800627060734 14837188239966450559 8399411412875758445
186 43941896975863035...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #12:

score: 6.62913
Acceptable Answer
time: 25ms = 3ms + 22ms
memory: 4624kb,9256kb

input:

encode
3 1 1000 28894740
1443566967277 1002989687681 1829524951402
2602826929142 3747227685123 5901648707775
4033961264703 2505460965674 954993702922
197504067048 6474213203300 591897838873
397555092326 6176213152642 6542025690412
3023274830786 7743011454513 4574767952956
970089917475 7440994416681 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
34 11630567071984643511 13175922922602200705 3952472943597880737 4438591936851794752
197 331014494975262646 10865334974884703738 1400054886402860524 5260840350839993524
730 11530882460666424538 5594757243203690568 5619125175678684649 1194248026586361124
467 18014720117015688058 ...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #13:

score: 6.62913
Acceptable Answer
time: 24ms = 3ms + 21ms
memory: 4908kb,9156kb

input:

encode
3 1 1000 153075579
2304211383706 293736539527 7132134054812
1741814038249 7432048048225 3566201720196
3995524894037 6019268388144 2122308190778
991763611900 7426700545379 6238866569725
1785152478736 8261949307035 7941066811713
1698097536347 6572651164624 728515473256
2495922753108 73793558276...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
369 17149682564628817096 324602122651803937 4035205450753993064 3448430977174919576
608 6829728723981754002 1403775714688008268 9331378020065195959 8371360318654056893
781 14881512389705184947 186032762324079276 5869460594843427839 8361214344609920040
977 414608449055427667 1388...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #14:

score: 6.62913
Acceptable Answer
time: 24ms = 3ms + 21ms
memory: 4624kb,9160kb

input:

encode
3 1 1000 894332930
2955022174032 3761127475788 6784502660817
1358878196429 7041902343860 5015929060416
285458360642 2724603455779 7746008164623
2279314129864 6384657611867 2131794287371
257082688144 5238759256510 2566576491022
2169514347865 3464239198787 8180660151008
2545389745640 3215011118...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
463 18338658016432020063 12848181737456932553 2636521028189659429 8412563288119525963
108 3729741285858164672 15510393075989835816 17581784681428337000 2305282224460474072
504 11956116875344740643 283819135238579456 936343003755183107 2161727846940674927
398 18039815758101723135...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #15:

score: 6.62913
Acceptable Answer
time: 28ms = 3ms + 25ms
memory: 4692kb,9420kb

input:

encode
3 1 1000 870750617
2049300775717 3418691816781 170555247826
2138475130880 5872645360995 1575658908453
640612892047 8076474179327 4264407368088
887395543201 1149225882701 2807256545780
944441053874 6589872600342 4383690630196
2114663508024 5302653587328 6229477040546
3336805585458 774686815837...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
736 3527105679984899272 14177314810621788320 14767328728841432424 93440939126559744
452 6811126460953750733 18344146366085589281 9115687970341074565 6577960099943296879
324 6697909193832382667 9154868273843190979 217295369615114895 169564449864690152
448 14986857847659217228 453...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #16:

score: 6.62913
Acceptable Answer
time: 19ms = 0ms + 19ms
memory: 4568kb,9452kb

input:

encode
3 1 1000 247578299
632583137590 7703348930412 784707894348
632583137590 7703348930412 784707894349
632583137590 7703348930412 784707894350
632583137590 7703348930412 784707894351
632583137590 7703348930412 784707894352
632583137590 7703348930412 784707894353
632583137590 7703348930412 7847078...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
522 4275147396720102636 15918817571675140096 16988869720670449292 1898376043456857368
280 1458277805554930420 13471533513533091840 17709014102769391370 1830822066159846948
526 5598642737213084524 15811153521965361153 7900605122914137746 2766497648396159268
804 71353803784328437 ...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #17:

score: 6.62913
Acceptable Answer
time: 21ms = 3ms + 18ms
memory: 4880kb,9160kb

input:

encode
3 1 1000 274474902
3167682591029 7992474326625 3651930268966
3167682591029 7992474326625 3651930268967
3167682591029 7992474326625 3651930268968
3167682591029 7992474326625 3651930268969
3167682591029 7992474326625 3651930268970
3167682591029 7992474326625 3651930268971
3167682591029 79924743...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
387 14182745981921002252 3545303231950045172 10101849015172544140 2296868898724512254
558 1498847876179035404 3507447046597730290 10101849014769856274 2296886490977665533
684 5861430747830682386 5858323850914381803 732252961433669388 3449790403398468349
440 6894690202963412108 5...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #18:

score: 6.62913
Acceptable Answer
time: 25ms = 3ms + 22ms
memory: 4704kb,9224kb

input:

encode
3 1 1000 18588105
3133225748585 1596243425390 5250091065049
3133225748585 1596243425390 5250091065050
3133225748585 1596243425390 5250091065051
3133225748585 1596243425390 5250091065052
3133225748585 1596243425390 5250091065053
3133225748585 1596243425390 5250091065054
3133225748585 159624342...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
304 14015202383987982428 6633535056638889776 1146535283148862912 2628686533248294270
390 18432107581093167162 6633394312573865768 1725247706425863616 1781728328326913661
760 13920521204337197146 4327701393139816240 1148760703315490208 2934650107810618750
963 1703706770636513370 ...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #19:

score: 6.62913
Acceptable Answer
time: 22ms = 3ms + 19ms
memory: 4588kb,9232kb

input:

encode
3 1 1000 845512879
1567990344849 585423451066 7710202686455
1567990344849 585423451066 7710202686456
1567990344849 585423451066 7710202686457
1567990344849 585423451066 7710202686458
1567990344849 585423451066 7710202686459
1567990344849 585423451066 7710202686460
1567990344849 585423451066 7...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
159 4378219275792413993 7494408899221912627 18400063259782810697 4250835233743993316
86 13155602587369598153 7494406734155741773 18364069673006404169 3962323450244740824
870 13243819025194021680 17294098888906767413 18364069638512053289 4178777708358646242
170 138584373577425846...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #20:

score: 6.62913
Acceptable Answer
time: 25ms = 3ms + 22ms
memory: 4620kb,9424kb

input:

encode
3 1 1000 51521257
1711052453544 163643731485 4994453213835
1711052453544 163643731485 4994453213836
1711052453544 163643731485 4994453213837
1711052453544 163643731485 4994453213838
1711052453544 163643731485 4994453213839
1711052453544 163643731485 4994453213840
1711052453544 163643731485 49...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
532 18429585920278958031 3640341433165726525 9119508804461931187 7768909852761519132
263 5270875262951921590 14737069763062342875 9121620383793958093 6615988402931299370
45 284624802910902199 3640191485120168762 18342740071079228237 6332194780610754602
390 13889115269848272814 1...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Test #21:

score: 6.62913
Acceptable Answer
time: 22ms = 3ms + 19ms
memory: 4620kb,9256kb

input:

encode
3 1 1000 695519242
2535264499835 7394105938009 7092345870659
2535264499835 7394105938009 7092345870660
2535264499835 7394105938009 7092345870661
2535264499835 7394105938009 7092345870662
2535264499835 7394105938009 7092345870663
2535264499835 7394105938009 7092345870664
2535264499835 73941059...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
3 1 10000 255
171 6836364890145718579 7600491322835000186 406615444665851808 3405394413295432858
612 18036333378299920691 7600491322835000186 406615444665851808 3405394413295432858
971 4503828067018277202 17364260095839657212 270936225194393536 3423465917753981014
569 1728095440149578035 7600...

result:

points 0.55242718450 Accepted using 255 pigeon(s).

Subtask #5:

score: 5.74648
Acceptable Answer

Test #22:

score: 5.74648
Acceptable Answer
time: 11ms = 0ms + 11ms
memory: 4620kb,9176kb

input:

encode
4 2 1000 104801283
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
0 0 11
0 0 12
0 0 13
0 0 14
0 0 15
0 0 16
0 0 17
0 0 18
0 0 19
0 0 20
0 0 21
0 0 22
0 0 23
0 0 24
0 0 25
0 0 26
0 0 27
0 0 28
0 0 29
0 0 30
0 0 31
0 0 32
0 0 33
0 0 34
0 0 35
0 0 36
0 0 37
0 0 38
0 0 39
0 0 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
14 3454260914193170432 0 0 0 0 0
808 82579340495159296 0 0 0 0 0
841 11062115787597676544 0 0 0 0 0
76 922325328959897600 0 0 0 0 0
756 645137283661430784 0 0 0 0 0
19 17523646887586955264 0 0 0 0 0
955 18212446916153704448 0 0 0 0 0
21 13290544712835399680 0 0 0 0 0
83 17524000...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #23:

score: 5.74648
Acceptable Answer
time: 30ms = 3ms + 27ms
memory: 4552kb,9164kb

input:

encode
4 2 1000 66331895
4398046511103 8796093022207 8796093022207
4398046511103 8796093022207 8796093022206
4398046511103 8796093022207 8796093022205
4398046511103 8796093022207 8796093022204
4398046511103 8796093022207 8796093022203
4398046511103 8796093022207 8796093022202
4398046511103 879609302...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
712 18421905345828880383 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 2305843009213693951
538 15890247490360836095 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 2305843009213693951
477 69912935104019169...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #24:

score: 5.74648
Acceptable Answer
time: 30ms = 0ms + 30ms
memory: 4688kb,9252kb

input:

encode
4 2 1000 12437286
3164361319777 6786891624731 227951509421
3164361319777 6786891624731 227951508397
1230006084290 4045001029920 8621280727007
1230006084290 4045001029928 8621280727007
4046842697365 1390215476350 5393775095343
4046842697365 1390215476478 5393775095343
4097065576578 85543456262...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
800 716086290413454833 11530108953315770525 9223646923309711464 427854918431715845 9220753652992428031 2279525098874512447
728 18348220679670661129 16915068765034175103 9230655304954314677 24482035379881476 6923778171067168774 430097203067220418
173 275954432170110934 1238491332...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #25:

score: 5.74648
Acceptable Answer
time: 37ms = 3ms + 34ms
memory: 4920kb,9156kb

input:

encode
4 2 1000 831242687
2670751381596 6623724975677 5092794651405
2670751381596 6623724975677 5092794127117
1139436948020 3121545543053 885256774465
1139436948020 3190265019789 885256774465
974698645962 3392494041520 6639045777535
974698645962 3392494040496 6639045777535
2184536160052 917915127054...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
867 1809224381461692097 18320658683736861814 11673326384785317103 3999242969759088641 7094884639444070312 1152175365886492682
713 4890890723232192927 4439533499546895132 3574160018225863064 5504392274269569017 10970822031634808307 467515694259358739
571 7492739874129602168 11017...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #26:

score: 5.74648
Acceptable Answer
time: 37ms = 3ms + 34ms
memory: 4568kb,9444kb

input:

encode
4 2 1000 803182167
1426439266935 7147157177216 7945335051695
607249308402 1447808532116 3736648115736
207234513439 5004460544995 5537073429154
3074118080154 4079481191752 3706576729333
975146501509 7461545836951 5502998616237
3030364550217 4251411057338 6934111764745
1020239981246 33761119032...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
21 7413424219906637775 3516409821110304839 1088869663071896783 11395813535372865932 28041052943246951 1844777153351114275
673 15492382355234855679 18268351095219455714 17820765145497613 6685056440446566 71917457846542588 1011908654556110679
97 16339059654208998525 13510103011426...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #27:

score: 5.74648
Acceptable Answer
time: 33ms = 3ms + 30ms
memory: 4640kb,9164kb

input:

encode
4 2 1000 991085096
563753021851 4784678900190 3335506497405
1644840097098 5351993830124 231790270157
671666314877 2993478336278 4903634741739
3843280623293 5733732638419 3778094461242
4305486882696 2994888978439 4760928801966
632426533134 5845320353043 4547375939696
1935637722766 306974945046...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
123 13556060059155273996 14754222824710966844 18388311627327655472 116945967977073868 14837108868069077004 2000597003858899328
17 875420155939678159 8999194258593323084 14875924347611219839 13609437406184325068 14959135489229161224 467498994350619110
162 12141211901824444672 408...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #28:

score: 5.74648
Acceptable Answer
time: 33ms = 3ms + 30ms
memory: 4904kb,9156kb

input:

encode
4 2 1000 805069258
3326421976718 3625496974456 1828193797217
1065612397495 5942441121524 4539471530132
2525415247779 6676587972998 2521601996734
2365770894474 8404715583823 4641885655005
818212274148 2502581781005 7593117904883
3101233769607 1680947096591 5400949677747
760263215344 2483586456...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
972 18383803869197844810 18320730638618612271 9223372151206409165 5368275554460153746 13898325470456262687 1164747692020874136
141 936748282693268272 10504513534713294643 10092838213348424172 16648685459911606265 10513340848680462259 301750939642070584
250 3433973103594549262 67...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #29:

score: 5.74648
Acceptable Answer
time: 37ms = 3ms + 34ms
memory: 4692kb,9156kb

input:

encode
4 2 1000 645417977
2004661301788 8305084308581 7644592639657
1753411802060 8128520264301 5913333382220
273811111551 3017605920161 1213137986977
503199548839 6496884379990 1792439764221
1282564453374 7519802584808 1460238637289
2186643520750 7786551400276 1522926324983
2484806968152 5269299725...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
640 7479567595877040537 14933899516762668257 3739685776497301888 935032653035392049 17290200300189541959 1436118529181998193
997 16810531331166959997 113506628374364191 18086948566058479616 3428839852798380644 10983153598753128527 2090088042461130808
468 7383871209612721787 1659...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #30:

score: 5.74648
Acceptable Answer
time: 32ms = 3ms + 29ms
memory: 4616kb,9160kb

input:

encode
4 2 1000 185343146
1478720025915 3075643605492 6970909005046
1312075357012 5361785272194 8235932608943
3008983260685 7314822992164 7133191994541
4105205953227 6142229368998 6606851662014
1069656976274 1155535082911 7285720569718
1806146471357 7230378573782 8187177095087
4042494159151 75859574...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
395 7052610316865110016 9655774761755600451 439325429390216723 4611685592747948145 11093455983316578305 1196189898504642361
669 7097672686311918717 864554204952408319 16857597779441180560 407187034319362560 3747135051552143360 18003405266705400
423 603482657681633542 17991317097...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #31:

score: 5.74648
Acceptable Answer
time: 37ms = 3ms + 34ms
memory: 4652kb,9160kb

input:

encode
4 2 1000 29604663
1371036480781 4889043449636 7723873546637
32044687684 5517188585754 1114662443016
965930312361 4258588579758 6716222248695
1339896583368 3799297789470 1471023232170
184296716854 8606997530794 906346322433
1613210366866 1547107939122 409322094349
3444207503641 4064011960589 6...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
366 1193778214800480 218721935236843033 9566221975160331215 18337305393300006907 14757211938140470681 1193679092780104064
258 17843042879597943904 2364018869351230 8876701544360288239 3674965876558056703 3692521249385336760 865287201478173635
605 36022749655826783 16933520030568...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #32:

score: 5.74648
Acceptable Answer
time: 32ms = 3ms + 29ms
memory: 4656kb,9244kb

input:

encode
4 2 1000 713687453
2383867188749 7057439171668 7628477556170
4115168701479 3052137979956 8157903548674
1644862632766 3976177853114 2122216960597
3079626480602 6610931908901 3022623848174
165634141718 3104656224912 774808611371
4027407955150 6122686031528 7528652348904
3762003432157 6948539156...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
77 923093649136291065 16396748552103410764 16031953756241266279 4337415323302819430 7430601627794460568 7304897592046022
882 5752415038599690602 5890668150353954582 703687404683762 12963840142110687041 5815610500102614022 810847937876535466
26 16197418973421633551 10574449760296...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #33:

score: 5.74648
Acceptable Answer
time: 33ms = 3ms + 30ms
memory: 4620kb,9104kb

input:

encode
4 2 1000 260896627
3172912227189 2469961514725 8682356929489
1787732982182 6079564684574 3342761373868
1898890950377 2827440158445 2343608444745
4359234975989 2621421141815 3301614944521
2646411140702 8719064543979 4136930809142
496415326337 6287785164698 6464256243721
2877009541956 407864720...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
50 117065448826234844 3610091618562243070 6917530737307051644 13952123498001565982 9194555931934974531 1979785475253285887
267 18432109706215633670 4175718224785145955 11470782572209058242 6990779349591261452 1210622991089323459 467784810176384018
141 3412533855225047039 8726853...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #34:

score: 5.74648
Acceptable Answer
time: 32ms = 3ms + 29ms
memory: 4652kb,9164kb

input:

encode
4 2 1000 505721487
80192402644 864317530628 3128268922446
80192402644 864317530628 3128268922447
80192402644 864317530628 3128268922448
80192402644 864317530628 3128268922449
80192402644 864317530628 3128268922450
80192402644 864317530628 3128268922451
80192402644 864317530628 3128268922452
8...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
232 7418329361072911321 14390086602977832177 436849307790799676 14377600632733722208 220240090893335966 1044727605804731392
918 875527468484522971 14354058063656906179 301741383394194289 16257572000174859872 219685941294349726 540324687521612800
312 7376924776827843545 143900868...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #35:

score: 5.74648
Acceptable Answer
time: 35ms = 3ms + 32ms
memory: 4616kb,9160kb

input:

encode
4 2 1000 1003007062
1782849581023 728320270385 7922299235072
1782849581023 728320270385 7922299235073
1782849581023 728320270385 7922299235074
1782849581023 728320270385 7922299235075
1782849581023 728320270385 7922299235076
1782849581023 728320270385 7922299235077
1782849581023 728320270385 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
750 4031565661225256626 4599283549872046463 16722956131990084256 2800695276641621280 11528999541729325823 1153360141228175446
182 6309433086442358091 8055787475390939519 16432473956024955184 2134149062773348992 4611316582414874303 288438115465425002
793 11014819663392441517 1151...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #36:

score: 5.74648
Acceptable Answer
time: 34ms = 3ms + 31ms
memory: 4880kb,9156kb

input:

encode
4 2 1000 675725573
1437082497085 456885847788 31252739935
1437082497085 456885847788 31252739936
1437082497085 456885847788 31252739937
1437082497085 456885847788 31252739938
1437082497085 456885847788 31252739939
1437082497085 456885847788 31252739940
1437082497085 456885847788 31252739941
1...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
432 18432109684002191308 14769098196351188992 461547438527112240 873701846106977024 10322193171544306115 461070085507671096
396 18237888547384094704 6860882510692220928 140666414167966768 630505571519019264 12213713811084068204 140745117735551393
801 19532974254028 1483665219076...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #37:

score: 5.74648
Acceptable Answer
time: 36ms = 3ms + 33ms
memory: 4884kb,9256kb

input:

encode
4 2 1000 126767270
1245962653741 2691797900845 8133405178197
1245962653741 2691797900845 8133405178198
1245962653741 2691797900845 8133405178199
1245962653741 2691797900845 8133405178200
1245962653741 2691797900845 8133405178201
1245962653741 2691797900845 8133405178202
1245962653741 26917979...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
826 18432125847574911391 4344913134006724543 14945063645336371399 2088491130560312099 14101830362714980931 1770139830137135489
379 4010144392274143 15171135553564439487 17183097418818060386 12537299716725537305 4105813912721896501 327925975752907268
94 17946782705660190943 10828...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #38:

score: 5.74648
Acceptable Answer
time: 30ms = 3ms + 27ms
memory: 4688kb,9228kb

input:

encode
4 2 1000 880983702
2279931903967 6541908512490 6184273749181
2279931903967 6541908512490 6184273749182
2279931903967 6541908512490 6184273749183
2279931903967 6541908512490 6184273749184
2279931903967 6541908512490 6184273749185
2279931903967 6541908512490 6184273749186
2279931903967 65419085...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
999 875449029649514547 17236127345702181278 3589156129898242434 1729601100955910095 9222945426343198616 56070482084594694
335 273593877720875031 18049305254884578254 3700409887637900800 12105734761780609001 18446515375290974176 12663702324061189
842 18329650487935156275 16695695...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Test #39:

score: 5.74648
Acceptable Answer
time: 30ms = 3ms + 27ms
memory: 4880kb,9152kb

input:

encode
4 2 1000 477333384
4004115610927 5230001698956 5641579845491
4004115610927 5230001698956 5641579845492
4004115610927 5230001698956 5641579845493
4004115610927 5230001698956 5641579845494
4004115610927 5230001698956 5641579845495
4004115610927 5230001698956 5641579845496
4004115610927 52300016...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
4 2 10000 381
689 469236476033304062 3747223639125234467 5004065160691074240 17726649606881685281 18445811855352835840 1152917114078235455
98 16397236805786486523 13979476742390259890 13975801318752805264 17943004590299422530 18444026531936910977 576453065656635055
868 18335224765151497467 96...

result:

points 0.47887323940 Accepted using 381 pigeon(s).

Subtask #6:

score: 4.30763
Acceptable Answer

Test #40:

score: 4.30763
Acceptable Answer
time: 39ms = 4ms + 35ms
memory: 5388kb,14140kb

input:

encode
5 5 1000 711903075
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
0 0 11
0 0 12
0 0 13
0 0 14
0 0 15
0 0 16
0 0 17
0 0 18
0 0 19
0 0 20
0 0 21
0 0 22
0 0 23
0 0 24
0 0 25
0 0 26
0 0 27
0 0 28
0 0 29
0 0 30
0 0 31
0 0 32
0 0 33
0 0 34
0 0 35
0 0 36
0 0 37
0 0 38
0 0 39
0 0 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
551 18444560924711876609 9223372036854775808 0 0 0 0 0 0 0 0 0 0
274 8935300007022428256 0 0 0 0 0 0 0 0 0 0 0
855 18444562401064879631 9223372036854775808 0 0 0 0 0 0 0 0 0 0
408 2183097110070240 0 0 0 0 0 0 0 0 0 0 0
533 9799273966131494927 9223372036854775808 0 0 0 0 0 0 0 0 ...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #41:

score: 4.30763
Acceptable Answer
time: 49ms = 5ms + 44ms
memory: 5104kb,13932kb

input:

encode
5 5 1000 791198466
4398046511103 8796093022207 8796093022207
4398046511103 8796093022207 8796093022206
4398046511103 8796093022207 8796093022205
4398046511103 8796093022207 8796093022204
4398046511103 8796093022207 8796093022203
4398046511103 8796093022207 8796093022202
4398046511103 87960930...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
370 17611320982739695071 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 36028797018963967
267 139615952133684767 184...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #42:

score: 4.30763
Acceptable Answer
time: 59ms = 2ms + 57ms
memory: 5376kb,13848kb

input:

encode
5 5 1000 535217819
3574057992359 4693833240049 463843292570
3574057992359 4693833240049 463843293082
2224581939326 2871155568889 472434410278
2224581939326 2871155564793 472434410278
891165833039 7350590981033 2367089640277
891165833039 7350590983081 2367089640277
3237831868001 4921476337187 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
571 275744573738590212 4323376500523925493 10815921614118453247 18403317761101787456 621244415 9979976794251440317 10201331176711389184 6542154314811711 17352368534002680687 16870827251753549824 2336460178111 22729121028292608
11 42643307735463086 6070834705514803200 43505632768...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #43:

score: 4.30763
Acceptable Answer
time: 63ms = 5ms + 58ms
memory: 5152kb,13928kb

input:

encode
5 5 1000 110074396
2968020431340 38984439043 7275650730137
2968020300268 38984439043 7275650730137
1185947152669 8770585115014 2990225539406
1185947169053 8770585115014 2990225539406
3258847114832 4181426866311 7556487401761
3258847123024 4181426866311 7556487401761
951573334697 4098135621266...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
730 5284477025069825989 659254223864493248 28533147482193920 5296127610382368847 9219008350437415935 18393265022848046079 17971048726341353451 1845637916282245983 18440821554326535947 16539401956192938112 11083064611568168 5561379289305406
626 2449698712545400981 156051222260455...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #44:

score: 4.30763
Acceptable Answer
time: 63ms = 2ms + 61ms
memory: 5084kb,13928kb

input:

encode
5 5 1000 400304125
2156827574045 5407530234022 3227929724972
3693626111528 4595861400898 209273779787
92376227684 2666552272197 8123808387370
109086633168 6770077943846 2404536236556
2133788303408 5944552740164 6210620276521
381439508678 8477426294036 4585666874388
2778847816527 216266566829 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
273 18391012077685659309 17147557249799920259 13425230918400466836 11998220524641107967 18246826471181030400 3958430718 9282478210047825664 2814736120549503 15060803513693635699 18445497228264628592 243984927475892224 23925371586376280
87 504270695053854745 10914473676968198514 ...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #45:

score: 4.30763
Acceptable Answer
time: 61ms = 4ms + 57ms
memory: 5172kb,13916kb

input:

encode
5 5 1000 898188916
3878446307109 2396812392805 7101232002678
3881061351875 572883397645 885364698700
3003131767797 3767454439383 1825722117276
2643936216100 5232352415318 5006988551046
929309205322 3315389050860 2530814119358
1384100499309 453690506315 2024419621034
3710839897486 181225812081...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
64 21559450549266098 5908725043726094378 5242170608037095077 2306233891913676031 9925741714046189528 13922878113687011391 18434359254709706752 16797952200207958016 3008092128259061 10392592140436478848 1984069911173113 22911202392880000
561 18444562599950449691 18376938210700812...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #46:

score: 4.30763
Acceptable Answer
time: 67ms = 5ms + 62ms
memory: 5380kb,13852kb

input:

encode
5 5 1000 500454374
3312790545165 4557461412414 7180280654085
1922567612595 4597750034542 8761274881778
1575944042691 7747642172296 4842659453140
3197757136485 5464257420615 743307696075
1902328569801 5878792039013 4223197164876
3289342996616 3753252022410 8067764853368
1264408740396 807007851...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
279 41637992556215055 4319842964895432703 18190601846781902847 18446741200376430591 18438841392403840272 12498940321302018052 9198764107631345664 13546826944229670980 18446742518814998528 91504089263880145 56371229184 3938553838045807
53 8942037694423234552 4467570963497615484 2...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #47:

score: 4.30763
Acceptable Answer
time: 67ms = 5ms + 62ms
memory: 5088kb,13944kb

input:

encode
5 5 1000 930865139
909024793026 5633250233978 1332163280805
3474760071737 2015997535219 2127496234497
2579761482170 1874432151955 4332144410332
3639396157914 5308015461843 7171592353847
2785493575599 1920767525047 2697360050233
3532892093207 1867251199260 1107121348016
2189508091185 434345299...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
121 8944148859957773311 8068200514979881209 16142726390716366910 139718215044955139 18013852735236997119 17887871214626797695 9799272038228065311 18415215027994722368 1116998293437022207 18307018204643851800 4468098724915847047 36028530527621056
89 18446743540596736496 919184299...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #48:

score: 4.30763
Acceptable Answer
time: 57ms = 5ms + 52ms
memory: 5120kb,14136kb

input:

encode
5 5 1000 105331868
1221991789537 2784871244705 7549310962661
2007825932327 6143229357921 704857807653
226215068463 3412096137518 5362855844359
3267646524610 7655426147107 3903753025114
3824279079955 2959338746126 6281427644685
1035910540483 5387336353026 3491616008000
585764946760 13031552144...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
828 135114594219195928 4485602273373716478 18429160677315591937 18410927456128466951 9230127436296323199 1747386209547837440 4616075285992818191 11245471106838069372 2015362895335940096 139718215046529016 4502508778590044672 15395106905858
800 16423776990819090431 18445274576066...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #49:

score: 4.30763
Acceptable Answer
time: 66ms = 4ms + 62ms
memory: 5040kb,13944kb

input:

encode
5 5 1000 712057975
1283979386558 2609422068442 5285193667955
756524240173 3368701023121 1369187775744
168245944855 6336603892336 7168943311456
3564637026654 3440693096145 4466745678963
3577984468520 3043241172299 1720380983588
4056958796356 6275759978846 8562610527000
3935114052347 5539740755...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
412 33017563181296 9079507541623333112 70435324305407 18307024734732188696 4502500384111132035 16149633452415647744 30854783433729 17941805444723916412 1747385726875594754 8944114774558506904 4502500386390671361 18049446281510018
167 14861880363771309791 9934937901202559488 6557...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #50:

score: 4.30763
Acceptable Answer
time: 54ms = 5ms + 49ms
memory: 5064kb,14112kb

input:

encode
5 5 1000 622225847
3497369552679 2767458853429 5246462616862
2215456413244 6637798977651 2480057975510
1145522644021 6633348800256 7785783111836
739572316904 3739623167821 4635647760209
2239007143165 4521276479650 5092531650674
2078929325187 1123870503901 821408880249
3014496347660 6431665589...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
962 18446264411252754509 18446740662968647679 18322405091879923887 16519062360674003567 8969782874047774720 3482071322265728 1901554781259208159 18437130029944391680 158616771524181144 84127653889 12790222952174209536 14113267106247488
23 34110892278776 9191842452088569840 28463...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #51:

score: 4.30763
Acceptable Answer
time: 62ms = 5ms + 57ms
memory: 5348kb,13948kb

input:

encode
5 5 1000 731098172
1677991285089 3707368468273 342406967541
2338031201397 446210047252 5713965210034
152118072003 5566436451294 5122703555139
3867380872582 1462447917661 2994773719172
4333383201887 7379835531150 2597887481777
641313233377 2883824405889 2499326469948
3228625904946 633428176499...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
792 18446744073686843353 4463326714526498802 4615793440842579856 2071651643245135872 30711178741170156 2402654909622096522 11522327705193223324 11976744853259198448 13956054652259110685 10553427202014581247 9972490355344968479 35666289970116416
526 11527086116939259967 162844708...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #52:

score: 4.30763
Acceptable Answer
time: 64ms = 4ms + 60ms
memory: 5060kb,13840kb

input:

encode
5 5 1000 175009391
1018901702544 3575263163726 1556803598696
1018901702544 3575263163726 1556803598697
1018901702544 3575263163726 1556803598698
1018901702544 3575263163726 1556803598699
1018901702544 3575263163726 1556803598700
1018901702544 3575263163726 1556803598701
1018901702544 35752631...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
402 4980855843545836821 11528906804109104639 14385218491059796678 621479220808484160 497646745269559635 3935582995567929152 4727672366124890088 1099807725 192334954495 12485334139861063872 194050586581138568 8533034084990961
40 30790213796839 13978680599937270270 230360003881257...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #53:

score: 4.30763
Acceptable Answer
time: 56ms = 0ms + 56ms
memory: 5092kb,14108kb

input:

encode
5 5 1000 26325440
3424931987370 8043695849576 2037732278383
3424931987370 8043695849576 2037732278384
3424931987370 8043695849576 2037732278385
3424931987370 8043695849576 2037732278386
3424931987370 8043695849576 2037732278387
3424931987370 8043695849576 2037732278388
3424931987370 804369584...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
166 14371566293801485568 40533753352 821928136724183912 1857064096533296224 189379719331840 23691100962832 11796892526243831230 14987980593686265343 3436694033394794495 18446722027806289886 8714460705754627065 33820221728489648
282 15888922720609480064 46841986689 10122284222098...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #54:

score: 4.30763
Acceptable Answer
time: 61ms = 5ms + 56ms
memory: 5388kb,13852kb

input:

encode
5 5 1000 907208564
3762363875476 2024970990243 3520251812416
3762363875476 2024970990243 3520251812417
3762363875476 2024970990243 3520251812418
3762363875476 2024970990243 3520251812419
3762363875476 2024970990243 3520251812420
3762363875476 2024970990243 3520251812421
3762363875476 20249709...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
381 17646792188079636408 11526028661354056677 17316287790680768637 18423104159718203291 8785467357486674796 4724269417085926963 16577736622682931021 17005474521777432216 3538000252471808 7833350469631 14233839687042072575 36022741635955878
993 17149707395807578623 18440990329355...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #55:

score: 4.30763
Acceptable Answer
time: 57ms = 0ms + 57ms
memory: 5384kb,13864kb

input:

encode
5 5 1000 276723199
2890978670427 5304738912554 5296974444905
2890978670427 5304738912554 5296974444906
2890978670427 5304738912554 5296974444907
2890978670427 5304738912554 5296974444908
2890978670427 5304738912554 5296974444909
2890978670427 5304738912554 5296974444910
2890978670427 53047389...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
982 18446744065381244912 9222949695540182529 13839000836886880270 279253967507093984 1135437062118703225 17321116845756923648 8649094399220840455 13944241793237794428 2297960714503452799 11527073193529311232 2236037111878270465 27029294396079135
344 9502595222080057359 180139058...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #56:

score: 4.30763
Acceptable Answer
time: 62ms = 4ms + 58ms
memory: 5080kb,13912kb

input:

encode
5 5 1000 717493508
544191931388 7395963008496 606133336307
544191931388 7395963008496 606133336308
544191931388 7395963008496 606133336309
544191931388 7395963008496 606133336310
544191931388 7395963008496 606133336311
544191931388 7395963008496 606133336312
544191931388 7395963008496 6061333...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
567 8071572274754291263 17437409923312942991 13852509503842422680 2301446027980314624 8529805041919 14970526049647984639 11527069864522940416 2017893556201586566 1125627227958935520 17872466951373055992 4540719243036944376 1122601371943408
685 184798805963 15708527411738378213 1...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Test #57:

score: 4.30763
Acceptable Answer
time: 48ms = 5ms + 43ms
memory: 5172kb,13844kb

input:

encode
5 5 1000 79034960
1066466211968 6080920718470 2307407471363
1066466211968 6080920718470 2307407471364
1066466211968 6080920718470 2307407471365
1066466211968 6080920718470 2307407471366
1066466211968 6080920718470 2307407471367
1066466211968 6080920718470 2307407471368
1066466211968 608092071...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
5 5 10000 759
2 11526965445280073231 9258310118306455302 1116894840039018399 11190296234719233 11458863344353542780 1746834806051176416 17872466418454232095 18446198166218891774 252201579140612480 8944148853513356286 4467825650728669187 31525463948001086
812 18446733552163769147 6072400410056...

result:

points 0.35896907220 Accepted using 759 pigeon(s).

Subtask #7:

score: 3.69124
Acceptable Answer

Test #58:

score: 3.69124
Acceptable Answer
time: 43ms = 5ms + 38ms
memory: 6104kb,23200kb

input:

encode
6 7 1000 618359561
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
0 0 11
0 0 12
0 0 13
0 0 14
0 0 15
0 0 16
0 0 17
0 0 18
0 0 19
0 0 20
0 0 21
0 0 22
0 0 23
0 0 24
0 0 25
0 0 26
0 0 27
0 0 28
0 0 29
0 0 30
0 0 31
0 0 32
0 0 33
0 0 34
0 0 35
0 0 36
0 0 37
0 0 38
0 0 39
0 0 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
287 18446744072573681680 16610401325649231872 0 0 0 0 0 0 0 0 0 0 0 0 0 0
709 11524711987615302019 18302767424098795520 0 0 0 0 0 0 0 0 0 0 0 0 0 0
631 18446705483327722162 3900574674140004352 0 0 0 0 0 0 0 0 0 0 0 0 0 0
333 15269727203136656095 7512004178453987328 0 0 0 0 0 0 ...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #59:

score: 3.69124
Acceptable Answer
time: 67ms = 0ms + 67ms
memory: 6024kb,23224kb

input:

encode
6 7 1000 963145103
4398046511103 8796093022207 8796093022207
4398046511103 8796093022207 8796093022206
4398046511103 8796093022207 8796093022205
4398046511103 8796093022207 8796093022204
4398046511103 8796093022207 8796093022203
4398046511103 8796093022207 8796093022202
4398046511103 87960930...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
128 18446744073709548423 13258597302978740223 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 1...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #60:

score: 3.69124
Acceptable Answer
time: 81ms = 6ms + 75ms
memory: 6096kb,23224kb

input:

encode
6 7 1000 379899771
4129154388645 7176964400535 681528072488
4129154388645 7176964367767 681528072488
4326044618039 7899397033929 2799696336628
4326044618039 7899397033929 2799696320244
3600506131201 7310829483401 42098213051
3600506131201 7310829483403 42098213051
2857486474248 4960267306436 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
515 18446743528248573824 18338377925658772479 17437937757178560415 17870353681552047743 108649313109672063 143975541509226241 9295426886375063552 18338377891301131262 35597797046714622 9151754246423576321 9294867226426343361 9295427156974765053 18446604427142889596 179792399113...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #61:

score: 3.69124
Acceptable Answer
time: 76ms = 6ms + 70ms
memory: 6024kb,23288kb

input:

encode
6 7 1000 522524894
2322447211607 5399107409573 7363157453891
2322447211671 5399107409573 7363157453891
3078056273631 7232754012656 8791138899322
3078056273631 7232754012657 4393092388218
3848510722931 592391727717 5436709718104
3848510722931 592391726693 5436709718104
1952449397777 2758003613...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
681 428914607033942015 18442775352084810338 5198335077646335 18445364141519666175 18435029876956069887 18446742974197941954 2449961976859229898 3472364974615560011 4656508709445238784 1270015094918477600 280644344600899572 8070450624287732382 8645297207357534207 184314561045504...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #62:

score: 3.69124
Acceptable Answer
time: 83ms = 6ms + 77ms
memory: 6040kb,23320kb

input:

encode
6 7 1000 48272751
2062414128330 7495157981650 4641994530339
3534201123281 2526341319313 501726249120
1903046134961 6352616488247 8376657310653
39004661029 1212410409551 8692706041506
1037182881908 684700520785 2248228120600
120911301601 8258926923892 6459381357183
1603549253305 2984245164153 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
361 5781948547469120 8075622605547340809 8070330599581158153 2231533474144199168 485262859849170943 15686037581919682560 414662635854739 17421603464317880189 17987377062578487295 16788576961700823030 5747953567295891455 18232823091770702575 13373474844641970176 37016558477312 3...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #63:

score: 3.69124
Acceptable Answer
time: 68ms = 5ms + 63ms
memory: 6060kb,23220kb

input:

encode
6 7 1000 249678103
4103185220504 4250478558214 2763498567302
3280792168879 4710470704443 8203941123310
4306095510703 7134716015185 7427349368959
1887698562197 4620506264378 3836638614196
2234320794615 2027609146142 1659740199251
3011180842709 485981056681 7597045465464
3616635120379 627095109...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
520 4718646509577437183 18425039714451401647 18445134390166069810 14150310125436928000 3571957056203216740 16160481167562803781 3452356692191574015 18444932078547103743 17914861891079899112 2173028601649233407 18445407067634662496 1272993637336612868 16137646511179982136 146727...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #64:

score: 3.69124
Acceptable Answer
time: 72ms = 6ms + 66ms
memory: 6040kb,23220kb

input:

encode
6 7 1000 1000690120
1307949810595 2976967260492 6673392767864
3252745431186 5893544760884 8012798774669
3394927031820 6800140094294 8236984502335
4119865901883 2588450658670 8656412787796
801131260317 5962203649480 6685205008630
3215071792117 8163302212045 3355572768107
984910658015 252970422...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
478 138538565763184 17451450435124736 6917667566106181632 35749005667467136 18334156281545195774 545494368510 9151745434731872258 9151737748082687968 1008945963089329664 9151771837531749952 2303608797324640255 9367480082366464000 131945623451648 18337531845006164222 35465873910...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #65:

score: 3.69124
Acceptable Answer
time: 87ms = 6ms + 81ms
memory: 6048kb,23288kb

input:

encode
6 7 1000 525626337
4368177976263 4297245566448 1488160185846
821700421701 3600321199561 2384695383366
775053646473 8392810541945 6684683995193
3312571886853 5952439973623 3098902549890
334950800011 8035269183885 4394146201843
3582869874866 1347914161951 6995697314888
1655610574528 54658967448...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
173 7161486328320 3826933783357647023 164126299701367752 1278459040754731570 8411263947846656 155189244 10049782568477260368 1265721698009742912 20661940724169808 1917516250180595 18446719533340164095 16889635109002397671 16409421062633314912 3184787090570760 256064507021900627...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #66:

score: 3.69124
Acceptable Answer
time: 84ms = 3ms + 81ms
memory: 6028kb,23224kb

input:

encode
6 7 1000 671642030
2725185712531 8287031153418 2168001911516
42180464211 8415647569490 7011443191176
1456741816579 6573676380351 5894036118213
1878311534883 5357783419471 4042768830739
3330548673030 8475609299195 6478334521337
111829624275 2664958288490 783177279095
1629993756818 749185387300...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
632 1657856783550513151 17226304849236726237 18446744059750907904 2411677599878471671 9223372036855770613 11529215046242533375 18436671928723827368 7387343749119 18446743914232542560 1330813689808295564 1729439710420482905 9634105600526651403 5219671984388370415 141908820082630...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #67:

score: 3.69124
Acceptable Answer
time: 79ms = 6ms + 73ms
memory: 6032kb,23196kb

input:

encode
6 7 1000 714310700
3399285342196 2131813727775 3574919175759
693021286815 1602089810507 7516515999839
3960118063172 726977278309 1798928144745
3767941837204 7298695589988 8621339884667
2875300645854 4878081346468 7596442354273
2978865913521 947246253599 5763842742283
3411892386923 82077816703...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
638 34903034450379775 17437801417493512163 18411277814310372864 8935158711722181247 108366182408487039 71634288520331376 17451449629867647 144114913181172728 468094810398523391 9295005219505045616 72041719834706174 9151876847284191616 18338377861204836097 9511040004227268639 92...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #68:

score: 3.69124
Acceptable Answer
time: 75ms = 6ms + 69ms
memory: 6316kb,23512kb

input:

encode
6 7 1000 461300612
725425529391 4652484046177 6556279836547
4365645457046 1395283792020 713846736954
4314584863798 7519042796100 6421081411030
558963142230 5821645669542 6621773351165
4073558392493 52776970461 2991744437775
3072399285427 8304777644491 5738093007523
3421756419281 287114582459 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
861 18411278200870008832 2161727823268552673 18446604435667804671 18411841116459565053 9799799801678560768 575758157662404096 8070731944964292353 10376225369609895680 144115733561933821 18419720277156954239 144114642581487361 10375167908918591361 9295427429738610814 18284942960...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #69:

score: 3.69124
Acceptable Answer
time: 70ms = 6ms + 64ms
memory: 6108kb,23172kb

input:

encode
6 7 1000 336835934
2757207542626 2257222291912 8218773069248
2083963673170 7830719682208 6769908871065
451718913121 7217074850493 4298702984378
951152278488 8553867212999 4343294711377
2312304358705 3301336951864 406364525144
1374586517735 7784561000690 7546597166448
2056467527536 25833544533...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
57 3903319974521 14274200851494375209 5749609669033680580 7939846105358508032 7691836797747212 4604860410162575702 8935141660227534851 14177894577467483711 18440448284087549951 18440393131334119936 13900068950669311 17747908811106029159 18446668765752986127 10657803331029696512...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #70:

score: 3.69124
Acceptable Answer
time: 73ms = 0ms + 73ms
memory: 6092kb,23524kb

input:

encode
6 7 1000 192911013
4382373901410 8565950446177 2071323137310
4382373901410 8565950446177 2071323137311
4382373901410 8565950446177 2071323137312
4382373901410 8565950446177 2071323137313
4382373901410 8565950446177 2071323137314
4382373901410 8565950446177 2071323137315
4382373901410 85659504...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
934 33777126062621056 18302768530086427008 18442381082721485054 35465872843472910 8070518704099688447 9294972236169478271 108366199603053055 18446612131810870271 17402188648446560255 16249267272674050174 9151877392762142704 144254832511680576 576427766948298625 9295218520398725...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #71:

score: 3.69124
Acceptable Answer
time: 73ms = 0ms + 73ms
memory: 5972kb,23224kb

input:

encode
6 7 1000 398598519
1514867349999 3377920774229 3625034198291
1514867349999 3377920774229 3625034198292
1514867349999 3377920774229 3625034198293
1514867349999 3377920774229 3625034198294
1514867349999 3377920774229 3625034198295
1514867349999 3377920774229 3625034198296
1514867349999 33779207...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
561 1672632066153712 16717361648655442944 1223425971 12119777086537728000 527752768343244 17571196038414887497 12577588388036610481 9810724002147227648 2411677600340491263 18423878837971585235 11529240660931485183 18446481256070772248 738548495714994592 2961582494076 1172367906...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #72:

score: 3.69124
Acceptable Answer
time: 78ms = 5ms + 73ms
memory: 6092kb,23304kb

input:

encode
6 7 1000 906922901
1296024528502 768615439834 3922131708537
1296024528502 768615439834 3922131708538
1296024528502 768615439834 3922131708539
1296024528502 768615439834 3922131708540
1296024528502 768615439834 3922131708541
1296024528502 768615439834 3922131708542
1296024528502 768615439834 3...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
522 18445970017523598571 9237826185292922448 1467573146515013 11349071182234837076 11925531969580441851 18443474148848754653 7912261520551051187 8600675893107883584 31203971446447 18446719526792868205 16891781332043039983 17158129639345227243 13345331590537876495 11537229472223...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #73:

score: 3.69124
Acceptable Answer
time: 72ms = 5ms + 67ms
memory: 6032kb,23536kb

input:

encode
6 7 1000 919904950
1015772028675 7405788239716 1679014321718
1015772028675 7405788239716 1679014321719
1015772028675 7405788239716 1679014321720
1015772028675 7405788239716 1679014321721
1015772028675 7405788239716 1679014321722
1015772028675 7405788239716 1679014321723
1015772028675 74057882...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
715 9294866680939282556 3940651804762110 9000056690573376 2305703925287616391 18438160177841602305 9294866682952556159 112589724392094720 1040331780210557055 112589722517209094 4611965296511680511 10374043940436311936 18302628885642019327 18446604427151212928 184461806083516697...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #74:

score: 3.69124
Acceptable Answer
time: 70ms = 5ms + 65ms
memory: 6024kb,23488kb

input:

encode
6 7 1000 307505929
1974606868459 1835892878920 2891622509426
1974606868459 1835892878920 2891622509427
1974606868459 1835892878920 2891622509428
1974606868459 1835892878920 2891622509429
1974606868459 1835892878920 2891622509430
1974606868459 1835892878920 2891622509431
1974606868459 18358928...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
556 9151877390639464193 9295426916471406591 9294866682952556032 9151316641848426544 71494646165143296 4575663818486317070 9079263991343071224 8444794795720703 13834778777197903617 18428728582197740031 16158899524356473247 16141182530882633727 18411838979721494783 18302628344467...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Test #75:

score: 3.69124
Acceptable Answer
time: 80ms = 5ms + 75ms
memory: 6316kb,23196kb

input:

encode
6 7 1000 139288815
2085773865084 5763106081944 5138784248741
2085773865084 5763106081944 5138784248742
2085773865084 5763106081944 5138784248743
2085773865084 5763106081944 5138784248744
2085773865084 5763106081944 5138784248745
2085773865084 5763106081944 5138784248746
2085773865084 57631060...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
6 7 10000 1011
574 18428173323263148031 17261300664548982766 3458770803109656903 12682113733896432778 5572181648074417 4757694015772622321 10525378745583269186 220751904 17293822569048179915 7817685986967420927 17987430174426630151 6773413839275819008 2462906013546495 18443823795253786246 246...

result:

points 0.30760330580 Accepted using 1011 pigeon(s).

Subtask #8:

score: 2.98215
Acceptable Answer

Test #76:

score: 2.98215
Acceptable Answer
time: 62ms = 3ms + 59ms
memory: 6028kb,23116kb

input:

encode
7 10 1000 211479294
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
0 0 11
0 0 12
0 0 13
0 0 14
0 0 15
0 0 16
0 0 17
0 0 18
0 0 19
0 0 20
0 0 21
0 0 22
0 0 23
0 0 24
0 0 25
0 0 26
0 0 27
0 0 28
0 0 29
0 0 30
0 0 31
0 0 32
0 0 33
0 0 34
0 0 35
0 0 36
0 0 37
0 0 38
0 0 39
0 0...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
203 18445504912369624075 14677216273473994752 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
546 6917531222369886208 139612000765476608 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
701 9232379231814549248 18446462633090482944 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
907 1844662714568108441...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #77:

score: 2.98215
Acceptable Answer
time: 72ms = 6ms + 66ms
memory: 6316kb,22956kb

input:

encode
7 10 1000 717484047
4398046511103 8796093022207 8796093022207
4398046511103 8796093022207 8796093022206
4398046511103 8796093022207 8796093022205
4398046511103 8796093022207 8796093022204
4398046511103 8796093022207 8796093022203
4398046511103 8796093022207 8796093022202
4398046511103 8796093...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
509 51495627086888960 24997003263 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 184467440737...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #78:

score: 2.98215
Acceptable Answer
time: 108ms = 7ms + 101ms
memory: 6108kb,22900kb

input:

encode
7 10 1000 827784394
514735864053 3549782390950 5376884663210
514735864053 3549782390950 978838152106
3308246509869 6149758902427 416789217834
3308246509869 6149758902427 416789283370
4375034511123 2440063209409 2384754529222
4375034511123 2440063209409 2384754528966
3161033729510 699365202109...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
254 18446744073709027839 11385102056999485567 16716799416601673712 2305561551366389760 18445679746445484031 4611650867878167039 2243004760854527 18304880410837647360 287949176019386343 18302734473076146176 17732923792818176 1072694271 18446743524490215296 2305561808913498160 9...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #79:

score: 2.98215
Acceptable Answer
time: 110ms = 7ms + 103ms
memory: 6044kb,22756kb

input:

encode
7 10 1000 276584934
4081922575829 7559385287274 5945501906848
4219361529301 7559385287274 5945501906848
4189638566395 3297304534628 584777042114
4189639090683 3297304534628 584777042114
428090427728 2456346958677 7884734456565
428090427728 2456363735893 7884734456565
2313158316651 72474318821...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
166 2196877869055 18446744073449500672 9223363790517567487 18446744039383367168 4503564468776593280 2238601383378943 18446744073173204480 1151796429602160384 1440870680634589176 217298544585850881 16140918654535466944 58542400332627966 6919779173893398528 287385676612108272 28...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #80:

score: 2.98215
Acceptable Answer
time: 108ms = 3ms + 105ms
memory: 5980kb,22912kb

input:

encode
7 10 1000 670206878
2977326359105 5804770168216 8757960133411
3247832747454 355514014765 8626273435563
96077062687 4706768007092 7084289919811
506841959952 1900949252398 6665556423309
1679099807551 147138997685 6824222445444
2952224667142 6670625680632 3836919411172
2346703799568 519814711191...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
226 2181843648496 9222247235385819199 17294948331704778767 17870336097997783047 18302628885637885955 18014387774159358 1125764079025791 16143152623774597247 18428747266429810688 576458621999644671 18446735286198076384 36028251558117375 18445619272508768463 18374686616908726272...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #81:

score: 2.98215
Acceptable Answer
time: 92ms = 3ms + 89ms
memory: 6088kb,22892kb

input:

encode
7 10 1000 642392893
3741748491399 4561401992404 5452373285989
4166828925798 4646257241036 7175150600376
4081126671930 4553965739124 8681728445507
45931383332 3608345852268 988075061632
1642036883715 2436119157687 5849740210055
4322966802055 5192108208310 7382472725671
1960394699147 7021903100...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
819 776064788084649957 10542926727676927999 10521575796908359680 12589133251709952 997743030837383728 281764279533699059 9304436849336385535 4904421078767501312 13766020590992407 13517652075809828880 34 6847102088769046338 7484080384 104175274489281992 1157058957886786709 1853...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #82:

score: 2.98215
Acceptable Answer
time: 90ms = 0ms + 90ms
memory: 6056kb,23108kb

input:

encode
7 10 1000 997705422
3152624187216 2775131366267 3322508449560
666594228475 8742959935889 39725113875
1150730957879 8526393020879 330876702426
356960004654 1544811367411 2809568944245
2460025749425 2831542347817 5452958102200
2398002089812 26321691163 2161600083328
2616351921434 8007227680302 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
84 18446744072637905920 4607182419034898463 16141182264796053440 143974588009938943 9232361644179320835 17996808468826111 13839558355301957631 17294947369632006271 18446744073676029927 18302769605958942720 8787511476223 18442244868906419199 17293821470664695807 183037547854734...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #83:

score: 2.98215
Acceptable Answer
time: 93ms = 7ms + 86ms
memory: 6108kb,23100kb

input:

encode
7 10 1000 371958993
764189210063 3970504211432 3353833419233
3828835392294 8413013967796 6677447414970
2191699906106 4876446911513 5876243643433
244987735687 6018919015467 2432770870918
3402261940969 2713137256561 5668542941386
2645455216631 6214524479810 3261597519661
1389118481564 131956173...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
217 18312075933407943933 18270364816441608534 2305843009222455167 10924169190466125823 14512557191669306236 3068529364539877266 11217361517511606276 2256879611842472239 13832874536858547686 10492512195395453507 14987646328694939648 1191110334287872 312630662559107410 470665088...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #84:

score: 2.98215
Acceptable Answer
time: 96ms = 3ms + 93ms
memory: 6328kb,22892kb

input:

encode
7 10 1000 110149027
3567116936952 1432238051665 8666227966386
369441606169 1711163063339 2469835063742
4242523121467 8673545879712 3665112940954
2040848013742 6631244203986 977581764890
2129973352940 295637567886 3184666259494
2651559472586 7521341866419 4719496136038
3005276363714 6998739617...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
534 13214400906599655319 7354378275640573951 18446744073709551614 11023307755460756013 14037720422896631260 11340560110427570131 16892448806475972799 4519313218308461917 18390108231268040703 18426162590429787072 9295429630921315776 30099130810367 18264382480928520191 184247167...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #85:

score: 2.98215
Acceptable Answer
time: 112ms = 6ms + 106ms
memory: 6096kb,22828kb

input:

encode
7 10 1000 595503445
2331995655030 4228638622205 5530282314490
621967825175 8129419996365 5893446861429
1845962905658 3388953795189 2106007228577
3732788120452 2230049726225 2926463586884
3987170665027 5511374216323 2652570347959
1490519353267 8065470377688 2208024085401
34171147625 5409475154...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
510 18446744073709472862 11397132921254003732 5643863555559129079 12388192287471956976 7206210848304233841 9022926668583325662 18445551610259046397 11095853394918798719 18446738935636928493 17578269897918755236 12362755904414679039 18446516689551067247 18446744027454767104 144...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #86:

score: 2.98215
Acceptable Answer
time: 104ms = 6ms + 98ms
memory: 6024kb,22856kb

input:

encode
7 10 1000 484021511
433825512805 7720939337023 4380178108816
2113401314606 1115254791303 4849455714646
338626768154 8750821914343 3047839466077
2549772699946 6942697255753 5495051107509
3332131896595 839285649778 7047679864061
992452871192 1733670525623 38304580091
3160101408443 935580371813 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
134 4499204835639264 6919779177650847871 16140901193344909311 14303432382219304944 17575018823648 4611681626825422848 2249602937651455 13835058329891864560 281268751204336 218424579782049855 18428764855411376129 18437737969671994880 6919778628565729407 16141182264863068159 183...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #87:

score: 2.98215
Acceptable Answer
time: 104ms = 3ms + 101ms
memory: 6324kb,22984kb

input:

encode
7 10 1000 13188011
1083493333359 7294475794357 552853580751
1027648479364 6559601145193 3058356478960
141992131873 5000732177882 4136587752882
950687741778 3715291654497 263875446672
859551589885 3660885812003 5969321744088
67331949319 5983976657854 1108064311820
1857737525525 8468380354884 4...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
89 2251801959071872 4503596137971519 17294669192988987328 0 35747322310680575 18446744071578845168 13839558355301761023 17296074094306705408 18446709096569633823 18446744056546443265 18410750456771903485 9241385338000098303 18446181123219652735 16140901064495890400 57639045221...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #88:

score: 2.98215
Acceptable Answer
time: 102ms = 7ms + 95ms
memory: 6092kb,23120kb

input:

encode
7 10 1000 920445191
1696220569565 4209752963503 2017730115005
1696220569565 4209752963503 2017730115006
1696220569565 4209752963503 2017730115007
1696220569565 4209752963503 2017730115008
1696220569565 4209752963503 2017730115009
1696220569565 4209752963503 2017730115010
1696220569565 4209752...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
83 101517204 7228815116 17816231562786640077 13833428225834876928 481871101833288 5358544684740726598 8318172482762702835 8124706517636087805 17454369105820249848 1162464853219081832 17293822678148642004 6309191121767497744 7831386780397469696 9827579849629391 5764607521765175...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #89:

score: 2.98215
Acceptable Answer
time: 103ms = 7ms + 96ms
memory: 6328kb,22896kb

input:

encode
7 10 1000 437613373
3065774291798 241316231006 673065926360
3065774291798 241316231006 673065926361
3065774291798 241316231006 673065926362
3065774291798 241316231006 673065926363
3065774291798 241316231006 673065926364
3065774291798 241316231006 673065926365
3065774291798 241316231006 673065...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
730 9079256982995600143 18446464248536629248 67043377 18446708992450232303 18428729537794668547 1152780768189086720 18444494471174291583 13835058329891897343 18159639580351920159 18374827217059311871 18437736925996507136 130599995442200575 16285015977695379456 281200367206431 ...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #90:

score: 2.98215
Acceptable Answer
time: 115ms = 6ms + 109ms
memory: 6092kb,22940kb

input:

encode
7 10 1000 388784557
2027131083733 3922417372204 52801510673
2027131083733 3922417372204 52801510674
2027131083733 3922417372204 52801510675
2027131083733 3922417372204 52801510676
2027131083733 3922417372204 52801510677
2027131083733 3922417372204 52801510678
2027131083733 3922417372204 52801...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
616 18118122192578281471 18420966229754773503 18431757730231967615 18410473087175569424 4892597397679118472 753409590967739771 18429327809525579776 40037116 18082681651900448768 3367839804443106051 9105644790504686274 2354990079562240282 280607716997 1748522556855634436 622622...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #91:

score: 2.98215
Acceptable Answer
time: 110ms = 0ms + 110ms
memory: 6316kb,22812kb

input:

encode
7 10 1000 611892990
742599828939 4061868789485 7590353819583
742599828939 4061868789485 7590353819584
742599828939 4061868789485 7590353819585
742599828939 4061868789485 7590353819586
742599828939 4061868789485 7590353819587
742599828939 4061868789485 7590353819588
742599828939 4061868789485 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
626 17233375817910591483 2900318196956953317 18421390735732375551 18435078638648811806 4611688445705240576 7302947548874932208 14719036387214996920 16084606029214234495 14618877904487512007 4611681037372620800 929922954307829759 16623173252729750355 10916725459761299450 110022...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #92:

score: 2.98215
Acceptable Answer
time: 101ms = 7ms + 94ms
memory: 6096kb,22892kb

input:

encode
7 10 1000 290705354
3884008138914 6914632849679 113728531618
3884008138914 6914632849679 113728531619
3884008138914 6914632849679 113728531620
3884008138914 6914632849679 113728531621
3884008138914 6914632849679 113728531622
3884008138914 6914632849679 113728531623
3884008138914 6914632849679...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
762 4499205875302911 11526965445278040000 4609574955967971327 18446744073693298656 1150671903812231167 18437745664038289407 13841815651598991360 562400734478304 575897802381459457 18230500974407958528 8787511476223 9232370440016494592 2303593408423264192 1152076804798967808 71...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Test #93:

score: 2.98215
Acceptable Answer
time: 110ms = 6ms + 104ms
memory: 6028kb,22900kb

input:

encode
7 10 1000 771223351
96044864649 6803600523962 5694840158980
96044864649 6803600523962 5694840158981
96044864649 6803600523962 5694840158982
96044864649 6803600523962 5694840158983
96044864649 6803600523962 5694840158984
96044864649 6803600523962 5694840158985
96044864649 6803600523962 5694840...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
7 10 10000 1389
511 18442244867833724928 1121501864525567 18446462873577209807 18158759988128940028 576460236903219199 17329851363978379260 13979172968483516416 4575657771162148862 1152781041988272096 2111062333456399 18158515879403321345 9232370441089188735 18428729691306196992 137304834079 ...

result:

points 0.24851228980 Accepted using 1389 pigeon(s).

Subtask #9:

score: 2.29379
Acceptable Answer

Test #94:

score: 2.29379
Acceptable Answer
time: 83ms = 7ms + 76ms
memory: 6024kb,22956kb

input:

encode
8 14 1000 963380543
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
0 0 11
0 0 12
0 0 13
0 0 14
0 0 15
0 0 16
0 0 17
0 0 18
0 0 19
0 0 20
0 0 21
0 0 22
0 0 23
0 0 24
0 0 25
0 0 26
0 0 27
0 0 28
0 0 29
0 0 30
0 0 31
0 0 32
0 0 33
0 0 34
0 0 35
0 0 36
0 0 37
0 0 38
0 0 39
0 0...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
350 658558811648294909 16115898039397410225 14502013012598063104 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
655 18446744073709402872 1585267120979706629 18440028868719935488 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
636 36590151794687 1844674400376036556...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #95:

score: 2.29379
Acceptable Answer
time: 105ms = 5ms + 100ms
memory: 6320kb,22912kb

input:

encode
8 14 1000 605060241
4398046511103 8796093022207 8796093022207
4398046511103 8796093022207 8796093022206
4398046511103 8796093022207 8796093022205
4398046511103 8796093022207 8796093022204
4398046511103 8796093022207 8796093022203
4398046511103 8796093022207 8796093022202
4398046511103 8796093...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
526 9223934952448720880 18014398509481857 18446743936539033599 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 1844...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #96:

score: 2.29379
Acceptable Answer
time: 143ms = 8ms + 135ms
memory: 6044kb,22980kb

input:

encode
8 14 1000 661983807
3231798265249 6985324481100 5168906965630
3231798265249 6985324481100 5164611998334
672410575384 1497162578575 4201442002018
672410575384 1497162578575 4201173566562
2478903083444 7918596206278 2156610798716
2478903083444 7918596206278 2156677907580
2611943318172 123039075...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
642 152338431 18446744073709551615 18446744061685006336 58781002239836220 17255541972241108992 128059 6876264545766081583 6275203130787362291 9345953838218474416 8126217762008727563 898465917157306499 10601028232857496579 3621202082813444095 18446744026372784135 10981205135515...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #97:

score: 2.29379
Acceptable Answer
time: 140ms = 8ms + 132ms
memory: 6336kb,22980kb

input:

encode
8 14 1000 949265882
1704514330496 6188091860716 5993934986878
1704514330496 6188091860716 5993800769150
1406502191565 6956544326642 5309725515728
1269063238093 6956544326642 5309725515728
333738894301 6422675463224 7634157575236
333738894317 6422675463224 7634157575236
1852204496066 574238342...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
703 8646920080644112408 2305843000640536575 18376938275190341887 13835058055282196464 2199016964080 18013505156284671 17870283321406128128 1729382325629739008 139611588448485376 15762602990747648 17979214405566464 144112997642502156 4503324751560576 108088589945930751 13835058...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #98:

score: 2.29379
Acceptable Answer
time: 135ms = 8ms + 127ms
memory: 6032kb,22932kb

input:

encode
8 14 1000 517195582
1941386072680 8023570462603 6774413666179
1327706040641 4397366997098 1434522901863
745795240902 3234503965265 3234297772153
2560534692929 544591456433 6959630982862
199046287909 98778942434 5067171006442
3169451284295 786706196864 6835820037314
409014825003 2168150013925 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
194 17103373942784051835 13546119982189820927 18445529129789939688 16356361915631334135 18073166582442855935 3087225244206867973 15780314027143462911 18139500202212457888 8709116979526061996 1585267073682703568 11529215204368317404 12564312195257723880 6489562546082838327 1203...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #99:

score: 2.29379
Acceptable Answer
time: 139ms = 8ms + 131ms
memory: 5996kb,22928kb

input:

encode
8 14 1000 918921663
1135464064092 4168339712923 2081870853388
806509234642 5994768749097 1733235608220
2618227946777 5242441735407 5041359575998
145018738024 8351768679756 6044894767406
4301111154115 5332113744701 1870541350212
349668824714 6909365690292 2056269417873
2631699605483 4694593658...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
397 652786650480374395 8737846057567746047 18446744073675138497 17292129133041287168 3918795287 2009441062643743252 2882306244193336221 14179839097589202944 1373482987382898687 18446172850531573759 18421959042785080275 3745777943738059138 15766541544493940736 12998094347705699...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #100:

score: 2.29379
Acceptable Answer
time: 140ms = 8ms + 132ms
memory: 6096kb,22892kb

input:

encode
8 14 1000 310160528
3526330351681 4968772129784 6924688973717
1520091681659 3893581752601 240713530078
3841558379621 7172835952888 135029017314
1023822415062 6928742746258 2470080114396
1329188393798 218058894669 3429975780960
3062812158703 7670010192764 2632691831185
1061764581073 3267367682...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
391 2394992812287329387 5531598772367099336 5303471334806025712 11995917591286454118 7229314502314183808 33253717180415 18416260379774814205 13972399522502534676 6052561038254023096 4440602009145442304 27806756612583262 18446738879849898077 11960966588245343010 141790511230235...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #101:

score: 2.29379
Acceptable Answer
time: 144ms = 8ms + 136ms
memory: 6044kb,22936kb

input:

encode
8 14 1000 325990870
1772779597806 582454201044 3645926295915
1370340779531 26245764877 7004146250249
1823151671338 8365485967803 5254740579456
2599219510059 8612846665236 7475963017104
2069101495776 3546114793208 681572407314
3684498739753 1016407215487 3011633868095
2236002810478 18624758573...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
643 18446744073709551200 10394307967904774637 16647661575691305105 5123277268362918371 18315137969276485168 1945555039024054337 5104689440136101887 18360215791787311103 15841745941310134015 18446744051759315148 3198681700954673400 4574519826473440013 1801452069096841020 172912...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #102:

score: 2.29379
Acceptable Answer
time: 140ms = 4ms + 136ms
memory: 6096kb,22876kb

input:

encode
8 14 1000 128876684
2914127130681 4935124425122 4004906973192
2273224442809 5425551323008 8358547827953
177877099226 5509247387825 3819987747383
2240117442888 607109272057 1899196010997
2808575402664 4074938625940 4021249994955
2018133509222 6334179077957 8642025962096
3090118103449 322601939...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
296 511341633639532447 18446744063682409390 16140901064495857663 18446744073709551615 18446724542886838272 9176712772 2305843009218431983 18436401518159994644 5041880937796867072 13954368172249619947 13835057705713205278 15781008935693516255 18446597199400505473 16141023139636...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #103:

score: 2.29379
Acceptable Answer
time: 141ms = 8ms + 133ms
memory: 6284kb,22888kb

input:

encode
8 14 1000 620488000
367977389913 398629451486 3584468374450
702741503478 6966562037837 1668265174076
676781470085 444598195458 7588511843184
1699410726787 5845811284029 921603585810
2159706224958 6305411379319 1874343106850
635929733204 8604906130647 8259284023930
2874776556246 3815046783613 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
693 18091358963463654541 4306293897920774145 4745668107341660159 18417304365357884906 16501779888583561023 18446744073709500977 1140191 18446744073709542971 16640347486904385532 13471086210991017984 36149191374224287 10283969613621290189 576460764146567398 2305843009218221506 ...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #104:

score: 2.29379
Acceptable Answer
time: 129ms = 8ms + 121ms
memory: 6048kb,22820kb

input:

encode
8 14 1000 414893142
2842742983238 5158709369145 8190192127641
2678261685551 4598634923318 5555443661595
2501192986185 3417260517359 6074484433366
3815895818317 577472143140 3080343259951
1831922776548 8292173568105 7010724854293
364370766994 3604969772963 3382104976604
777091534114 2252558732...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
509 18241500986931686384 15798627492564785800 5091314098959286272 576742038301573119 13519500748886364057 17162026455601774592 0 96377701192568831 18357657793336442880 68 7874044958453141883 7566046764126442073 9006910520324898905 1742904761130229760 20156318916804608 94006086...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #105:

score: 2.29379
Acceptable Answer
time: 130ms = 4ms + 126ms
memory: 6320kb,22912kb

input:

encode
8 14 1000 394195535
809355407421 1465074462497 1082089120809
1863569178062 1863444016728 8780519618373
409262738266 8172528619999 1870960937893
2708395716207 7151111730031 6838810236495
983940113663 8325076927653 3259629472735
2805752287024 7003216675256 5454170265675
3659510829069 8210524017...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
599 281457796841511 68706893568 216177180160286719 18446709164215368707 18446744073709289471 18428730499850566911 18158531289743884287 18446682500924178687 18446462598796802048 138538465100280 1099511529471 13835339516300231167 18446181128051081216 144116287520377856 115285113...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #106:

score: 2.29379
Acceptable Answer
time: 145ms = 8ms + 137ms
memory: 6036kb,23120kb

input:

encode
8 14 1000 676499574
3668858819109 5327606529726 6453855996597
3668858819109 5327606529726 6453855996598
3668858819109 5327606529726 6453855996599
3668858819109 5327606529726 6453855996600
3668858819109 5327606529726 6453855996601
3668858819109 5327606529726 6453855996602
3668858819109 5327606...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
698 18446744073709467894 11239608081143451342 5776341364022544460 5199143039800044975 16694308870431051904 6229507427536994303 18446287896646684756 7853227740931694591 18446744069127358396 13835058050724691140 12597402049278115839 18446740736569488516 17935462370700689407 1844...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #107:

score: 2.29379
Acceptable Answer
time: 136ms = 8ms + 128ms
memory: 6000kb,22980kb

input:

encode
8 14 1000 94018479
96888197272 8643078329578 1753361602650
96888197272 8643078329578 1753361602651
96888197272 8643078329578 1753361602652
96888197272 8643078329578 1753361602653
96888197272 8643078329578 1753361602654
96888197272 8643078329578 1753361602655
96888197272 8643078329578 17533616...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
298 4972654069792 2787074047 9910250766420343790 16257971933886522483 8935141660703064063 18446549498973913089 2124555532025986515 14061363936557531136 516209713890362764 1065242039724412928 5538240853315892 2251726953860028057 16429133073651258584 16204241730348810068 4331861...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #108:

score: 2.29379
Acceptable Answer
time: 126ms = 4ms + 122ms
memory: 6292kb,23120kb

input:

encode
8 14 1000 900993988
2369874122913 7762085972315 658213084387
2369874122913 7762085972315 658213084388
2369874122913 7762085972315 658213084389
2369874122913 7762085972315 658213084390
2369874122913 7762085972315 658213084391
2369874122913 7762085972315 658213084392
2369874122913 7762085972315...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
814 9223934952448688128 2251250057871360 1792 70368727408639 18160765480192704448 9006099743116288 3584 140736951488505 18444492376977178527 13835058072394924543 17870309847124147712 14123288427138910207 17293824553377595423 18302629984071581699 16140901064495874047 8444421089...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #109:

score: 2.29379
Acceptable Answer
time: 126ms = 4ms + 122ms
memory: 6060kb,22984kb

input:

encode
8 14 1000 280024755
955272490816 8774804383388 3168225513893
955272490816 8774804383388 3168225513894
955272490816 8774804383388 3168225513895
955272490816 8774804383388 3168225513896
955272490816 8774804383388 3168225513897
955272490816 8774804383388 3168225513898
955272490816 8774804383388 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
192 15435513208127308096 1269100296156364805 2216664370136538720 785866968059110032 1338593029655255039 18446744003926411264 5214851993162185 2943805631397208648 3441556351 18436557483337142299 4611687129614516223 17065495528900215315 9118241128541553688 5373392943166305040 60...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #110:

score: 2.29379
Acceptable Answer
time: 133ms = 8ms + 125ms
memory: 6324kb,22892kb

input:

encode
8 14 1000 801753362
3522696027351 7697439575244 2438884314474
3522696027351 7697439575244 2438884314475
3522696027351 7697439575244 2438884314476
3522696027351 7697439575244 2438884314477
3522696027351 7697439575244 2438884314478
3522696027351 7697439575244 2438884314479
3522696027351 7697439...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
474 281200098804704 4433230891581439 288230376084606975 14987838822459375631 18442240611521130496 2305826241678146560 144106392385495039 18446462598732840958 72057593772638271 18374687012247568447 17293831364658880512 9222949815800168455 18439988536835833983 183386554837303295...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Test #111:

score: 2.29379
Acceptable Answer
time: 132ms = 8ms + 124ms
memory: 6000kb,22856kb

input:

encode
8 14 1000 240002913
2377800376699 8512007177514 6486295604875
2377800376699 8512007177514 6486295604876
2377800376699 8512007177514 6486295604877
2377800376699 8512007177514 6486295604878
2377800376699 8512007177514 6486295604879
2377800376699 8512007177514 6486295604880
2377800376699 8512007...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
8 14 10000 1893
983 1519140347357167616 718846386202953760 5153894966236191277 18446743842406793216 39941954288842 16139214434038243994 12864229437217699805 7539025776236470263 18031603813893712639 18446744030510038101 3698971279319552527 12615918480508585475 15710621986540513280 6 1436095361...

result:

points 0.19114954220 Accepted using 1893 pigeon(s).

Subtask #10:

score: 1.53453
Acceptable Answer

Test #112:

score: 1.53453
Acceptable Answer
time: 115ms = 7ms + 108ms
memory: 7880kb,41628kb

input:

encode
9 20 1000 49682627
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
0 0 11
0 0 12
0 0 13
0 0 14
0 0 15
0 0 16
0 0 17
0 0 18
0 0 19
0 0 20
0 0 21
0 0 22
0 0 23
0 0 24
0 0 25
0 0 26
0 0 27
0 0 28
0 0 29
0 0 30
0 0 31
0 0 32
0 0 33
0 0 34
0 0 35
0 0 36
0 0 37
0 0 38
0 0 39
0 0 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
814 9223363240770142207 2251799811588096 144062411500945420 70368677068800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
220 1176982486387 18446744044473022414 11195735048272351488 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #113:

score: 1.53453
Acceptable Answer
time: 143ms = 12ms + 131ms
memory: 7972kb,41612kb

input:

encode
9 20 1000 575991170
4398046511103 8796093022207 8796093022207
4398046511103 8796093022207 8796093022206
4398046511103 8796093022207 8796093022205
4398046511103 8796093022207 8796093022204
4398046511103 8796093022207 8796093022203
4398046511103 8796093022207 8796093022202
4398046511103 8796093...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
525 9221120237041092604 18446726481540284415 18446744073701163071 18446744072702918655 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 1...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #114:

score: 1.53453
Acceptable Answer
time: 199ms = 12ms + 187ms
memory: 8200kb,41732kb

input:

encode
9 20 1000 798012561
3682631568653 3399195689483 3631890219187
3682631568653 3399195689483 3627595251891
736127494099 8140413827208 4229463991299
736127494099 8140413827208 4229396882435
3686269198035 7287260168981 7123884190751
3686269198035 7287260168981 7123884188703
2922224510321 359088190...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
837 8070450532250025983 18446638520593285119 18446744073709551612 70368677068800 70093866270720 4611263805828104288 1152921504605798655 18446181124293001119 18446726481523507215 18437736874454811135 18158513697558097920 2047 18410715302493945855 18446181192475598848 1441150506...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #115:

score: 1.53453
Acceptable Answer
time: 194ms = 12ms + 182ms
memory: 8200kb,41688kb

input:

encode
9 20 1000 954377859
553174998546 6663598266287 6299028184480
553174998546 6663598266295 6299028184480
1843987794232 1410644580157 2804054364875
1848282761528 1410644580157 2804054364875
1478429591215 4851490558765 3250541883641
1478429591215 2652467303213 3250541883641
652258010768 3401201287...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
163 18446744073709551615 18380509292925544492 4920182592904376749 13576101076707210063 12691146500415549439 18446739390881811721 6382860231275731863 481940100288987135 18446740659887603363 7584879771684435967 18446461607201816576 1744102147227646 15894348776106623008 125689115...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #116:

score: 1.53453
Acceptable Answer
time: 195ms = 6ms + 189ms
memory: 7904kb,41664kb

input:

encode
9 20 1000 917949227
4224775616400 5487522053033 2441822435282
3626688338583 7661697987225 8174151133864
2516443392352 8188798485166 147897628720
2283957806509 318483104237 4327361062334
2943014875112 7119266833557 7979305042865
725364215182 8545634026022 4677926961696
456295322011 24431083056...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
647 10517345733272576 6956459774577737727 18446744073709551615 17579005172170883072 398193444863 16932470683203731572 12655092932612294591 18066588470645620735 18446741047938752512 4065860739812631008 7940059723187880224 3794332211882804236 284429295735013375 18445969786389642...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #117:

score: 1.53453
Acceptable Answer
time: 178ms = 8ms + 170ms
memory: 7940kb,41644kb

input:

encode
9 20 1000 98600014
3925018020832 6253298270631 3219988633630
456262095205 6930742286471 6423359245989
2487969559709 8596780879064 196211848701
2528392366228 8094647791936 6727598283169
1240245025701 4640287936155 3978981316691
1471463806157 5991060281944 6083763622666
2841659525553 1464987982...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
606 18446744071328632820 7783298641707141321 8569834627971280862 2555338724590223360 5249150942583 12622432109362157800 6165789792941375488 0 0 18819209830606 2188068805052036940 14987979559619334213 14123336000826508986 1152921508960143908 12135756987279903072 922337204124013...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #118:

score: 1.53453
Acceptable Answer
time: 193ms = 8ms + 185ms
memory: 7984kb,41848kb

input:

encode
9 20 1000 170129178
2859601897585 8444990058425 5445579594119
1524367868090 5516415054260 2717534941739
265927080295 6793952772501 5187329563456
2938286300758 940733212827 8732984145613
3135670202405 3240613246459 3285776196704
3906118291148 2087541176684 7059315369112
3230763057491 756007572...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
735 4398042316803 18446744073709551615 18446728680546762750 140737488355320 140737387659264 549554487232 1125899906842560 1125899101534208 18014329790005248 1145603155212370431 18433233240467701760 1152921448772276223 18374686488261550080 144115188075847680 144115050636918783 ...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #119:

score: 1.53453
Acceptable Answer
time: 183ms = 12ms + 171ms
memory: 8168kb,41652kb

input:

encode
9 20 1000 150207222
335812402080 8713888255945 5822771857615
3141456854090 3154178655587 5931152170090
3817564754623 1500904288451 5236809489500
3095592757149 6380875551310 6230235282487
3477778672307 3445570116250 1845087048271
876331205234 5726171999360 1760082656645
1054204618675 293429170...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
457 4396972769407 18437736874454843385 18446708889371017215 18446744073709551608 140737354137600 140737354137727 18446744073575334015 18444492273895866368 1125898833101568 4503596406144000 10720641024 281457796843519 18410715302464585727 18446673756504997887 181585136975578398...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #120:

score: 1.53453
Acceptable Answer
time: 184ms = 9ms + 175ms
memory: 7892kb,41704kb

input:

encode
9 20 1000 932602816
1967177490745 6956290244092 2536105473252
1388790652897 603423966795 8733301433629
4279582033654 1386794420322 6220620956345
2468084375065 3444874666600 5631576241530
2701734700889 7858315237697 3746231805512
1965494252777 3699056243208 5559185619304
325489584463 271972654...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
731 4398042316803 1152921500311880703 18446741874719850492 70368693846000 281474951544831 9223372054034644991 16142026964272676863 18446181123756137984 536870400 6790583813144448 140737354137600 18446739675663097856 18012199486357503 18437736925994434559 18158513697557856128 2...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #121:

score: 1.53453
Acceptable Answer
time: 186ms = 8ms + 178ms
memory: 8192kb,41864kb

input:

encode
9 20 1000 894266983
1226305641029 5619723386853 3841218999711
230102840328 4009893046951 992818373043
3859644771963 195320355587 3603682560396
1213896496041 4527883913906 2729927904441
3861954416487 7686649635143 398559607805
471154770901 632275165548 3842648436417
4254290765995 677458113674 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
267 11529215046066372611 576460752302899207 18446744073709551612 70368693583872 4397945846784 16978542528 1125899906842560 1125899101535232 15032385791 18442240478377148415 18442240478377148415 18158518095603832832 36028771249152000 108086425416605695 13835058055286292480 1441...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #122:

score: 1.53453
Acceptable Answer
time: 173ms = 0ms + 173ms
memory: 7900kb,41700kb

input:

encode
9 20 1000 164785191
58020633647 5063185755856 2800867716271
522986898645 5262797120919 1242767027478
1174187773214 3498399298010 2979865266432
764043059795 6940889414871 5172670169984
3604161685580 6467542390217 5950691500174
556491238811 828055217349 4769713069988
2419919492223 4585566426615...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
727 9223380832939409408 8796084633606 576460752302899212 70368677068807 16777167 18444492273895868288 100663296 562949953420672 18446744073675997184 29255805391863823 18433233270532475911 18446743523954262015 18428729675200577536 17179852800 288230341792235519 1844673988182153...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #123:

score: 1.53453
Acceptable Answer
time: 204ms = 12ms + 192ms
memory: 8164kb,41736kb

input:

encode
9 20 1000 329702287
3684699437389 7545678811739 8158932321464
2467485826325 2859504757156 5640693825124
3010885681358 2605510429230 1763626721612
1121228677648 7673741782456 6882654839224
653088567949 589411294214 8693931192903
3385140201311 3733215833663 1708339578335
1981353293343 677272240...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
115 18446744071260365376 2398604921977952932 1176988167345470207 16078006757059067839 8968624674530399430 18440765568006029312 1037968819551843940 8941131835484667904 316724287504379 7303866678855598080 18664306683903 18444445816014587974 3405144767707742208 749135040228202897...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #124:

score: 1.53453
Acceptable Answer
time: 189ms = 12ms + 177ms
memory: 7908kb,41644kb

input:

encode
9 20 1000 181068066
2543862971707 307273714413 6041453358192
2543862971707 307273714413 6041453358193
2543862971707 307273714413 6041453358194
2543862971707 307273714413 6041453358195
2543862971707 307273714413 6041453358196
2543862971707 307273714413 6041453358197
2543862971707 307273714413 ...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
140 4398042316803 18446744073709551615 18446726481540284403 18446673705015705631 18446744073273344031 18446321861110268031 18446462603027808255 16143152864275988480 4323455642544110592 2181431069769727 18446181123758227455 16176929861514821631 18446744065388052448 439804651108...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #125:

score: 1.53453
Acceptable Answer
time: 210ms = 12ms + 198ms
memory: 8164kb,41560kb

input:

encode
9 20 1000 531071951
3924378006837 3001048624338 5754478500723
3924378006837 3001048624338 5754478500724
3924378006837 3001048624338 5754478500725
3924378006837 3001048624338 5754478500726
3924378006837 3001048624338 5754478500727
3924378006837 3001048624338 5754478500728
3924378006837 3001048...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
681 4398042316803 18446735277624918008 8388600 140737488355320 140737387692000 424411488319488 1099092197376 144115188075331968 2251797666201792 281474976710144 18014398509481215 18446744069414592511 18428729692379926520 8795019280384 144115187807420543 18014117034505535487 18...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #126:

score: 1.53453
Acceptable Answer
time: 209ms = 12ms + 197ms
memory: 7904kb,41808kb

input:

encode
9 20 1000 517039479
1019364332405 6502235108075 2048979575289
1019364332405 6502235108075 2048979575290
1019364332405 6502235108075 2048979575291
1019364332405 6502235108075 2048979575292
1019364332405 6502235108075 2048979575293
1019364332405 6502235108075 2048979575294
1019364332405 6502235...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
373 1000101671340081151 18363434040627027575 11528778962940559359 11483520734924374016 7715946012015113920 6033017166280700145 9263904820299758079 6553388214810993166 10592466323575406596 458961055807963136 1156836040542055 6335504471623204839 13570448460845006847 184464148958...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #127:

score: 1.53453
Acceptable Answer
time: 183ms = 12ms + 171ms
memory: 7904kb,41648kb

input:

encode
9 20 1000 301786476
3158685203012 2200406400907 5609966204769
3158685203012 2200406400907 5609966204770
3158685203012 2200406400907 5609966204771
3158685203012 2200406400907 5609966204772
3158685203012 2200406400907 5609966204773
3158685203012 2200406400907 5609966204774
3158685203012 2200406...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
586 18446743771969926611 2525142826482397375 1076184861425785804 14267421290333425663 18446744073709551615 13067394255597616487 11361005204503138304 0 1700392335359 9023584160644743356 9277415232678094976 44118932683472638 5118667703258710158 707928449651356925 132585973023796...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #128:

score: 1.53453
Acceptable Answer
time: 196ms = 12ms + 184ms
memory: 7972kb,41660kb

input:

encode
9 20 1000 481004598
2144975281912 1223951139349 1797260812630
2144975281912 1223951139349 1797260812631
2144975281912 1223951139349 1797260812632
2144975281912 1223951139349 1797260812633
2144975281912 1223951139349 1797260812634
2144975281912 1223951139349 1797260812635
2144975281912 1223951...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
24 9223363240770142207 281474976710406 9007199187632128 2305702271725338631 18158513731917578232 562949953421280 9223372035781033984 574208952757125120 1125899839733887 18446741878981262848 9007192812273664 257698039807 274877906688 108086425416605680 140720308486271 184467352...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).

Test #129:

score: 1.53453
Acceptable Answer
time: 197ms = 8ms + 189ms
memory: 7904kb,41560kb

input:

encode
9 20 1000 135495143
2905525429145 8306037090562 6070231918803
2905525429145 8306037090562 6070231918804
2905525429145 8306037090562 6070231918805
2905525429145 8306037090562 6070231918806
2905525429145 8306037090562 6070231918807
2905525429145 8306037090562 6070231918808
2905525429145 8306037...

input:

w3xtong0sw70x24jk9va60aqnef9rzgx08fedfyimsmhm15g2p5yqjm98pbtrbqf9z0dajxh0cu2l8gd95xrgjw4v0zd2gnfxer874n1obsey5lrtj85pef4vcjvgyf3jgcdbrnnmrgc19osn0hdzg4gbo0hq25kq55c7tteedfxv1zzoif59fn45lzjo2x3h82ns90cuqigsh4g7cxx665n4vv15y2jbc0o7lusftiz71dfbfi7ag2i498kdd1rrwvtymjyy8c6mqr8hzny6x71lfr4qrlsh0929wz1p79q...

input:

decode
9 20 10000 2649
390 9223380832941506558 26388413284350 1099485937664 70368744169479 18446739675763703839 18446181123823108096 2198486384640 127 18444492275506741247 17870318505778184192 288230341791981536 8589926400 8589926400 108227128544198656 1152921504539738112 576460752303423488 13314398...

result:

points 0.12787783870 Accepted using 2649 pigeon(s).