You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#lang br
|
|
|
|
|
(require br/test rackunit)
|
|
|
|
|
|
|
|
|
|
(check-equal? (run-source "test.rkt") "d: 72
|
|
|
|
|
e: 507
|
|
|
|
|
f: 492
|
|
|
|
|
g: 114
|
|
|
|
|
h: 65412
|
|
|
|
|
i: 65079
|
|
|
|
|
x: 123
|
|
|
|
|
y: 456
|
|
|
|
|
")
|
|
|
|
|
|
|
|
|
|
(check-equal? (run-source "puzzle.rkt") "bo: 10292
|
|
|
|
|
ly: 4045
|
|
|
|
|
fq: 6560
|
|
|
|
|
cq: 15518
|
|
|
|
|
ga: 60815
|
|
|
|
|
u: 1
|
|
|
|
|
a: 46065
|
|
|
|
|
ay: 65531
|
|
|
|
|
hf: 15568
|
|
|
|
|
lr: 8187
|
|
|
|
|
lu: 7027
|
|
|
|
|
ek: 15935
|
|
|
|
|
cy: 0
|
|
|
|
|
hv: 1438
|
|
|
|
|
bi: 1
|
|
|
|
|
ik: 9873
|
|
|
|
|
t: 0
|
|
|
|
|
ed: 128
|
|
|
|
|
ko: 2047
|
|
|
|
|
bx: 65515
|
|
|
|
|
cu: 63740
|
|
|
|
|
q: 65533
|
|
|
|
|
lx: 46065
|
|
|
|
|
lp: 64761
|
|
|
|
|
fw: 16329
|
|
|
|
|
r: 1997
|
|
|
|
|
dk: 3655
|
|
|
|
|
bj: 4
|
|
|
|
|
ce: 10
|
|
|
|
|
ij: 59287
|
|
|
|
|
gj: 59011
|
|
|
|
|
ld: 8090
|
|
|
|
|
lw: 46064
|
|
|
|
|
lc: 23032
|
|
|
|
|
an: 0
|
|
|
|
|
gq: 7140
|
|
|
|
|
lh: 1011
|
|
|
|
|
g: 245
|
|
|
|
|
lo: 774
|
|
|
|
|
db: 26676
|
|
|
|
|
cz: 22
|
|
|
|
|
cg: 20584
|
|
|
|
|
fg: 4096
|
|
|
|
|
iu: 64720
|
|
|
|
|
kz: 14054
|
|
|
|
|
cn: 513
|
|
|
|
|
bk: 5
|
|
|
|
|
hc: 29505
|
|
|
|
|
jh: 9280
|
|
|
|
|
bt: 64509
|
|
|
|
|
kw: 16374
|
|
|
|
|
kv: 2514
|
|
|
|
|
il: 65457
|
|
|
|
|
v: 837
|
|
|
|
|
jn: 32360
|
|
|
|
|
fr: 1640
|
|
|
|
|
bh: 23539
|
|
|
|
|
gd: 57743
|
|
|
|
|
hm: 15858
|
|
|
|
|
lf: 8090
|
|
|
|
|
av: 525
|
|
|
|
|
fo: 52486
|
|
|
|
|
hp: 9506
|
|
|
|
|
ln: 2031
|
|
|
|
|
ky: 63215
|
|
|
|
|
km: 2022
|
|
|
|
|
en: 15935
|
|
|
|
|
fu: 65503
|
|
|
|
|
ji: 56255
|
|
|
|
|
jp: 32360
|
|
|
|
|
gw: 8704
|
|
|
|
|
l: 160
|
|
|
|
|
fm: 19718
|
|
|
|
|
jx: 8126
|
|
|
|
|
eq: 89
|
|
|
|
|
lz: 32768
|
|
|
|
|
ez: 65471
|
|
|
|
|
jq: 8090
|
|
|
|
|
ej: 2597
|
|
|
|
|
dn: 62970
|
|
|
|
|
kc: 4640
|
|
|
|
|
bf: 0
|
|
|
|
|
fl: 179
|
|
|
|
|
dy: 13338
|
|
|
|
|
lm: 783
|
|
|
|
|
ef: 1827
|
|
|
|
|
ft: 32
|
|
|
|
|
kq: 65055
|
|
|
|
|
kk: 16180
|
|
|
|
|
da: 22
|
|
|
|
|
au: 2100
|
|
|
|
|
ar: 0
|
|
|
|
|
fn: 32768
|
|
|
|
|
fj: 1
|
|
|
|
|
hx: 31136
|
|
|
|
|
lg: 2022
|
|
|
|
|
kj: 0
|
|
|
|
|
eh: 1282
|
|
|
|
|
id: 8189
|
|
|
|
|
li: 252
|
|
|
|
|
br: 5406
|
|
|
|
|
gt: 58975
|
|
|
|
|
gh: 26243
|
|
|
|
|
cc: 39417
|
|
|
|
|
ec: 1955
|
|
|
|
|
ls: 1160
|
|
|
|
|
m: 65375
|
|
|
|
|
ib: 7988
|
|
|
|
|
dj: 65279
|
|
|
|
|
ll: 65295
|
|
|
|
|
jr: 4045
|
|
|
|
|
js: 1011
|
|
|
|
|
bg: 65535
|
|
|
|
|
w: 32768
|
|
|
|
|
fk: 178
|
|
|
|
|
jm: 5758
|
|
|
|
|
im: 8320
|
|
|
|
|
eg: 3879
|
|
|
|
|
gz: 1
|
|
|
|
|
le: 0
|
|
|
|
|
bu: 4380
|
|
|
|
|
co: 65022
|
|
|
|
|
x: 33605
|
|
|
|
|
k: 487
|
|
|
|
|
ge: 1
|
|
|
|
|
ih: 16121
|
|
|
|
|
gp: 64495
|
|
|
|
|
ee: 65407
|
|
|
|
|
jy: 3098
|
|
|
|
|
ff: 47903
|
|
|
|
|
az: 2617
|
|
|
|
|
fi: 43807
|
|
|
|
|
jl: 5758
|
|
|
|
|
ha: 718
|
|
|
|
|
y: 8401
|
|
|
|
|
dd: 26676
|
|
|
|
|
bn: 41169
|
|
|
|
|
ie: 1796
|
|
|
|
|
z: 4200
|
|
|
|
|
lk: 240
|
|
|
|
|
cf: 11
|
|
|
|
|
bc: 65495
|
|
|
|
|
hl: 6642
|
|
|
|
|
gc: 62463
|
|
|
|
|
s: 1
|
|
|
|
|
fz: 11401
|
|
|
|
|
fe: 12562
|
|
|
|
|
eo: 1
|
|
|
|
|
ab: 5242
|
|
|
|
|
bm: 32768
|
|
|
|
|
hi: 8186
|
|
|
|
|
lb: 23032
|
|
|
|
|
ci: 53352
|
|
|
|
|
la: 0
|
|
|
|
|
gg: 359
|
|
|
|
|
gk: 14752
|
|
|
|
|
de: 6669
|
|
|
|
|
lt: 64375
|
|
|
|
|
lj: 1023
|
|
|
|
|
jt: 4095
|
|
|
|
|
ax: 4
|
|
|
|
|
c: 0
|
|
|
|
|
hr: 8448
|
|
|
|
|
ig: 6393
|
|
|
|
|
ew: 1232
|
|
|
|
|
bs: 1026
|
|
|
|
|
h: 16
|
|
|
|
|
ma: 36813
|
|
|
|
|
lv: 1
|
|
|
|
|
je: 59339
|
|
|
|
|
hb: 719
|
|
|
|
|
er: 6669
|
|
|
|
|
iv: 16180
|
|
|
|
|
hs: 57087
|
|
|
|
|
bl: 8401
|
|
|
|
|
kl: 4045
|
|
|
|
|
p: 2
|
|
|
|
|
lq: 1257
|
|
|
|
|
cr: 5130
|
|
|
|
|
do: 5194
|
|
|
|
|
cj: 13338
|
|
|
|
|
be: 23539
|
|
|
|
|
gi: 32768
|
|
|
|
|
ic: 1997
|
|
|
|
|
ep: 88
|
|
|
|
|
ks: 4063
|
|
|
|
|
gv: 59079
|
|
|
|
|
hh: 1946
|
|
|
|
|
fh: 61439
|
|
|
|
|
hj: 1544
|
|
|
|
|
o: 1999
|
|
|
|
|
jo: 0
|
|
|
|
|
hd: 32768
|
|
|
|
|
dc: 0
|
|
|
|
|
kn: 505
|
|
|
|
|
ck: 6669
|
|
|
|
|
ba: 6777
|
|
|
|
|
iw: 8090
|
|
|
|
|
kr: 1567
|
|
|
|
|
ei: 64253
|
|
|
|
|
as: 16802
|
|
|
|
|
jb: 6268
|
|
|
|
|
df: 3334
|
|
|
|
|
bp: 5146
|
|
|
|
|
cd: 1
|
|
|
|
|
bb: 40
|
|
|
|
|
aj: 47079
|
|
|
|
|
kx: 2320
|
|
|
|
|
ap: 2
|
|
|
|
|
ea: 1667
|
|
|
|
|
aq: 16802
|
|
|
|
|
fc: 1665
|
|
|
|
|
kt: 1549
|
|
|
|
|
ii: 6248
|
|
|
|
|
di: 256
|
|
|
|
|
fy: 60607
|
|
|
|
|
n: 327
|
|
|
|
|
bq: 1286
|
|
|
|
|
kp: 480
|
|
|
|
|
dx: 0
|
|
|
|
|
ia: 15976
|
|
|
|
|
am: 47078
|
|
|
|
|
ch: 32768
|
|
|
|
|
he: 62273
|
|
|
|
|
hg: 7784
|
|
|
|
|
bz: 47609
|
|
|
|
|
ku: 63986
|
|
|
|
|
ac: 8
|
|
|
|
|
al: 65534
|
|
|
|
|
cx: 63740
|
|
|
|
|
if: 63739
|
|
|
|
|
dz: 3334
|
|
|
|
|
it: 32768
|
|
|
|
|
dl: 7759
|
|
|
|
|
aw: 2621
|
|
|
|
|
jj: 56216
|
|
|
|
|
cv: 0
|
|
|
|
|
eb: 416
|
|
|
|
|
hz: 63904
|
|
|
|
|
fb: 14227
|
|
|
|
|
gl: 7376
|
|
|
|
|
gb: 3072
|
|
|
|
|
jk: 0
|
|
|
|
|
kb: 32748
|
|
|
|
|
dm: 2565
|
|
|
|
|
fa: 6033
|
|
|
|
|
dh: 3911
|
|
|
|
|
jc: 16252
|
|
|
|
|
aa: 1050
|
|
|
|
|
hk: 63991
|
|
|
|
|
in: 57215
|
|
|
|
|
gf: 358
|
|
|
|
|
hy: 32768
|
|
|
|
|
ir: 2879
|
|
|
|
|
ix: 2022
|
|
|
|
|
fd: 63870
|
|
|
|
|
em: 65535
|
|
|
|
|
cm: 7823
|
|
|
|
|
ev: 4929
|
|
|
|
|
iq: 2878
|
|
|
|
|
cl: 1667
|
|
|
|
|
jd: 6196
|
|
|
|
|
dg: 833
|
|
|
|
|
at: 4200
|
|
|
|
|
jz: 62437
|
|
|
|
|
ai: 13475
|
|
|
|
|
dt: 0
|
|
|
|
|
ka: 5028
|
|
|
|
|
du: 44
|
|
|
|
|
fv: 8136
|
|
|
|
|
ki: 16180
|
|
|
|
|
iz: 1922
|
|
|
|
|
iy: 8190
|
|
|
|
|
es: 32768
|
|
|
|
|
ey: 64
|
|
|
|
|
bd: 6737
|
|
|
|
|
fx: 4928
|
|
|
|
|
jf: 10056
|
|
|
|
|
eu: 9859
|
|
|
|
|
kh: 11516
|
|
|
|
|
jg: 65496
|
|
|
|
|
et: 39437
|
|
|
|
|
fp: 13121
|
|
|
|
|
cb: 57343
|
|
|
|
|
by: 14632
|
|
|
|
|
ao: 2
|
|
|
|
|
cp: 7310
|
|
|
|
|
af: 13555
|
|
|
|
|
ca: 8192
|
|
|
|
|
kf: 0
|
|
|
|
|
jw: 3134
|
|
|
|
|
fs: 8168
|
|
|
|
|
el: 0
|
|
|
|
|
kd: 60895
|
|
|
|
|
ex: 6097
|
|
|
|
|
dp: 31870
|
|
|
|
|
cw: 65535
|
|
|
|
|
gu: 8772
|
|
|
|
|
dw: 13338
|
|
|
|
|
gx: 56831
|
|
|
|
|
ja: 63613
|
|
|
|
|
ip: 1
|
|
|
|
|
ah: 65455
|
|
|
|
|
f: 52
|
|
|
|
|
cs: 60405
|
|
|
|
|
ke: 28108
|
|
|
|
|
ju: 961
|
|
|
|
|
ct: 10388
|
|
|
|
|
io: 57137
|
|
|
|
|
jv: 64574
|
|
|
|
|
dv: 44
|
|
|
|
|
dq: 0
|
|
|
|
|
d: 418
|
|
|
|
|
kg: 11516
|
|
|
|
|
dr: 65535
|
|
|
|
|
bv: 14652
|
|
|
|
|
gr: 15332
|
|
|
|
|
hq: 63331
|
|
|
|
|
i: 65519
|
|
|
|
|
hn: 6352
|
|
|
|
|
gy: 50375
|
|
|
|
|
ak: 1
|
|
|
|
|
bw: 20
|
|
|
|
|
ht: 54883
|
|
|
|
|
is: 31952
|
|
|
|
|
gm: 1844
|
|
|
|
|
j: 229
|
|
|
|
|
gs: 6560
|
|
|
|
|
ds: 31870
|
|
|
|
|
e: 209
|
|
|
|
|
go: 1040
|
|
|
|
|
gn: 8180
|
|
|
|
|
ag: 80
|
|
|
|
|
hw: 1439
|
|
|
|
|
b: 1674
|
|
|
|
|
ae: 5234
|
|
|
|
|
ad: 65527
|
|
|
|
|
hu: 1
|
|
|
|
|
ho: 59183
|
|
|
|
|
")
|