master
Matthew Butterick 7 years ago
parent d11b94c403
commit 5090ded0bc

@ -0,0 +1,43 @@
#lang br/quicklang
(require "../helper.rkt")
(provide read-syntax (rename-out [#%mb #%module-begin]) ★★)
(define (read-syntax path port)
(define lines (port->lines port))
(strip-context #`(module mod "main.rkt"
#,@(for/list ([datum (in-port read (open-input-string (car lines)))])
datum)
#,@(cdr lines))))
(define-macro (#%mb STARS LINE ...)
#'(#%module-begin
(time (STARS (list LINE ...)))))
(define (populate-hash! chars lines)
(for* ([(line lidx) (in-indexed lines)]
[(c cidx) (in-indexed (string->list line))]
#:unless (char=? c #\space))
(hash-set! chars (+ lidx (* +i cidx)) c)))
(define (traverse lines #:count-steps [count-steps? #f])
(define chars (make-hasheqv))
(populate-hash! chars lines)
(define start (for/first ([k (in-hash-keys chars)]
#:when (zero? (real-part k)))
k))
(define down 1) (define up -1) (define left -i) (define right +i)
(let loop ([here start][dir down][path null])
(define here-char (hash-ref chars here #f))
(cond
[here-char
(define next-dir (if (char=? here-char #\+)
(if (hash-has-key? chars (+ here (* dir +i))) (* dir +i) (* dir -i))
dir))
(loop (+ here next-dir) next-dir (cons here-char path))]
[count-steps? (length path)]
[else (list->string (filter char-alphabetic? (reverse path)))])))
(define ( lines) (traverse lines))
(define (★★ lines) (traverse lines #:count-steps #t))

@ -0,0 +1,202 @@
#lang reader "main.rkt" ; "LXWCKGRAOY"
|
+-+ +-+ +-+ +---+ +-+ +-----------------|-----------------------------------+ +---+ +-+ +-+
| | | | | | | | | | | | | | | | | | |
| +---+ +---------------------+ | | +-----------|-+ | | | +-------------------------------------|---|-+ | |
| | | | | | | | | | | | | | |
| +-------------------------------------+ Y-+ | +-----|-----+ | | | +-----------------------------|---|---|-+ | |
| | | | | | | | | | | | | | | | | | | |
+-----------------------|-----|-----------+ +-------------------+ +-+ | +-----+ +-------------------------------------------|-----------|---|-----------------------------|---------|---+
| | | | | | | | | | | | | | | |
| | | | | | | | +---------------------------------+ | | | +---+ | |
| | | | | | | | | | | | | | | |
| | +-----------------|-----|-----------|---------------------+ | | | | +-----------------|---+ | |
| | | | | | | | | | | | | | | | | |
+-------------+ +---|-----|-------------------------------|-|-----------------|-------+ | | +---------------|-----------|---------------------|-------|-+
| | | | | | | | | | | | | | | | | | | | | |
+-|-------------|-------+ | | +-----+ +---------------|---------------+ +-----+ | | +---------------------------------------|-------------------+ | +-----------|-+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | +---------|-------------------------------------|-------------|-----------|-+ +-----------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | +---|-------------|---------------------------------------------|---------|---|-----|-------|---------------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +---+ | | | | | | | | | | | | | | | +-------------------------------------|---------|---|-----------|-----------------|-|-|---------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | +---------------------------|---------------------------+ | | | | | | | | +-+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | +-----|---------|---|---------|-+ | | | | | | | | | | | | | +---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | +---------------+ +-------+ | | | | | | | +---------------------------------------+ | | | | | | | | | +-+ | |
| | | | | | | | | | | | | | | | | | | O | | | | | | | | | | | | | | | | | |
| | | | +-------|-|-|-----|-+ | | | | | | | | | | | | | | | +---------+ | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +---------|-------|-----|---------|-----------|-------|---------|---|-----|---------------+ | | | | | | | | +---------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-+ | | | | | | | +-|-------------+ | | +---|-----|---------------------|---------------------+ +---|-------|-|-|-----|-----|-----|-|---|-----|-------+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | +---|---------|-----------------------------------+ | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-----|-----|-------------|-|-------+ | | | | | | | | | | | +-|-+ | | +-----|-----+ +-------------|-|-------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-----+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-----|---|-|-------|-----------|-|-------|-|-------------|-|---|-----|---|-----------------|---------|---------------+ | +-|-------|-|-------------------|-|---------------|-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | +---------------------|-+ | | | | | | | +-|-----------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +---------|-|-----|-+ | | | | | | | | | | | | | | | | | | | | +---------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +---|-----------|-----+ | | | | | | | | | | | | | +-|---|-------------+ | | | +-------+ | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-----------|---|---------|---|-------|-----|-----------------|---|-------------|-------------|---------+ +-----|-------------------|-------------|------C|---+ | | | +-|-----|-+ | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-+ +-----|---------|-|---|-|-----+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|---|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | +-------|-----|---------+ | | | +---|-------------------------------|-|-------+ | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | +-|-----------|---|-----|-----|-------|-------+ | | | | | | +-----+ | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-|-|-----|-|-|---------|-------------------|---|-----|-----|-------|-------------|-------------|-------------------------|---|---|---------|-|-+ | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +-+ | | | | | | | +-|---------------|-----|---------|---------------------|-|-----------|-------------------------|-|-|---|---|-|-|-|---|-+ | +-|-+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-+ | | | | | | | +-|-|---+ | | | | +---|-----|---|---|-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-----+ | +-------|-|-|-----|---|-|-----------------------------|-----|---|-------------------------------|---|-----|---------------|---|---|---|---|-+ | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | G | | | | | | | | |
+-+ | | | | +---------------|-|---|-|-|-----------|---|---------------|-----|---------------|---------|---------|---------------|-------|---|---|-----|---|-|-|---|---+ | +-------|-+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-|-----+ | | | | | | | | | | | | | | | | +-------------+ +-------------|---|---+ | | | | | | | | | | | | | | +-----|-------|-------|-------|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-----|-----|---------|---|-------|-----------------------|-------------------------------|---------|---|-----|---------------|---|---|-----------------|---------|-|-----|-------------+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | +-----|-|-|-|-------|-----|-------|-----------|-----------+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | +-|---|-----------------+ +-------|---------+ | | | | | | | | +-------+ | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +---------|---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | +-|-------------|-----------+ | | | | | | +-|---------------------------------|-|-----|---|-|---|-------|-|-|-|---|---------|---------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +---------|---|-|---|-+ +-------|-|-----------------|-----|---------|---------------|-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +---|-----------|---+ | +-|-|---|-|-----|-------------|---|-|---------------------------|-------|-|---------------------------------|-----|---------+ | | | | | | | | | | | | +-------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-+ | | | | | | | | | +-|---|-----|-----------|-----|---|---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | +----K------|-------------------|---------------+ | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | +-|-|---------------|-----------|-|-----|---------------------------------|-------------|-----------+ | | | | | | | | +-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +---|---|---|---|---|-|-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-+ | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +---|---------|---|---------|---|-------------|-------------------|-----+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | L
| | | | | | | | | | | | | | | | | | | | | | | +---|---|-----------|-----|---|-------|-|---|-----|-----|---------|-----|-----|-------|-|---|---|-|-----------|---+ | | | +-|-|-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +---+ +-----|-----|-------|-------------|-----|-|-----------------|-----------|-----------|-|---|---------+ | | | | | | | | +---|-|---|---|-------+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | +-----------|---|---|-|-----|-|---------|-----------|---|-------|-|---------|---------|-|---------------+ | +-|-+ | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-|-------------|---|-|---|-|---|-|-|---|-|-|-----------------|-----|-----------|-----|-----------------|-----------|-----|---------------|-|-|---------|-----|-|-|-------|-|-------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-----|-----------|-------|---|-|---------|---------|-----|-|-------|-----------------|---|---|---------+ | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +---|---|-----|-+ | | | | | | +-----------------------|-----|-------------------------|---------------|---------------|-----|-|-+ | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +-|-|-|---|-|---------|-----------|-------|-----|-----|---------------+ | | | | | +-----------|-----|---|---+ | | +---------+ | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | +-|-|---|-----------|-----------+ | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +---------+ | | | | | +---------|-------+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +---|---|---|-----------------|-|-------|-------|---|-----------|---|---+ | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | +---|-----|---------|-|-|-|---|-------------------|-----------|-------|-----------------|-----|---------|-+ | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-+ | | +-|---------|---|-----|-|---------|---|-|-----------|-|-|---------|-+ | | | | | | | +---|-----+ | | | | | | | +-|---+ | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---|-----------------|-----------|-|---|-------|-----|-----|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-----+ | | | +---------------------+ | | | +---|---|-|-----------|---|-|---|-|-----------------------|-------------|---------------|---------|-|-|-|---+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | +-------------|-|-|---|---------|-|-----|-----------+ | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-------|-------|-----|---|-----|-|-----|-+ | | | +---|---+ | | | | +-|---------|---|---+ | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | +---|---|---|---|-|-------------|---------|-----|---|-----|---|-----|-|-----------|---------|-------+ | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-------+ | | | | | | | | +-------|-|---|---|---|---|---|---------|-----|-|---|-------------+ | | +-----|-------|---|-+ +-----|-------|-----+ | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-----+ | | +---|-+ | | | +-|-|---------------|-+ | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|---|-|---|---|-------|-----+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-|---------|-------|-------------------------------------|---|-----------------------------------|---|---|-|-------------------------|---|---------|-----|-|-----|---|---------|-|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +---------|---|-------------------|---------------|---|---------|-----|-------------------|-------|---------------------------|-----|---|---|-|---------+ | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | +-----------------|---|-----|---|-----|-|-----------|-----|-----+ | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +-|-----+ | | | | | | | | | | | | | | | | | +-----|-|-----|-------------|---|-----------------------------------|-|-+ | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +-|-----+ | +-------|---|-----------|-|---------|---|---+ | | | | | | | | | | | | | | | | | +-|-----|---|-|-------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+---|---------|---|-----------------|-----|---|---------|-|-|-----|---|-----------------|---+ | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|-|-----|---|---+ |
| X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | +-----|-|---|-------+ | | | | | | | | | | | | +---+ | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-----------------|-------------------|-|-------|---|A|-|---+ | | | +---|-----------|-|---|---|---------------|---|---|-------|-|-+ | | | | | | | | | | | +-+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +---------------------|---------------------|-------|-|---+ | | | | | | | | | | +---------------|-+ | +---|-|---|-----|-----|-----|-----|-+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-----|-----|-----------------------------|---------------|-----|-----|-------------|---|-----------------------|---|-------|---|---+ | +---+ +---|---|-|---+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-----------|-------------|-+ +-+ +-|-|-------+ | | | | | | | | | | | | | | | +---|-----|-+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|---------|-------|-------------------------------|-|-----------------------|-----|-----------|-|---|---|-----------------------|-------|-------|-----+ +-----+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | +-----|-|-------|---------|-----|---------|---------------|-----+ | | | | | | | | +---|-+ | | | | | | | | +-------|-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +---------|---|---------------------|---|-------------------------+ | | | | | +-----------------|---|---|---|-+ | +-|---+ | +-+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | +-|-----------|-----------------|---------------------------|---|---|-+ +---|-|-|-+ +---+ | +-------|---|---|-+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-+ +-----|---|---------------|---------|---------------|-----+ +-----------+ +-------|-----------------------|---+ | | | | | +---+ | | | +---|---+ | |
| | | W | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-------|---|---|---------|-|-----------|-------------------|-------|-----------------|-----|-----------------------|---|-|-----------------|-------------|---|---|-------------|---+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-----------------|-|---|-------|-------------+ | | | | | | | | | +-----|-----------------|-|------R|---|---+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-------------|---------+ | | | +---|---------------|-------|-+ +-----------------------------|-----+ | | +-+ | | | | | +---+ | +-|-+ | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
+-+ +-----------------------------------------------|-----|-----------------+ | | +-+ | | | +-+ | | | +-----------------|-------------+
| | | | | | | | | | | | | | | | | | | | | | | |
+-----------------------------|-------|-------|---------------------------------------|-------|-----------------------|-----|-----------|-----|-----------------|-----|---------------+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| +---|-----------|-----------------------|---------------|-------|-----------------------|-----------------------------|-------------|-|-|---------------|-+ | | |
| | | | | | | | | | | | | | | | | | | | | |
| | | | +-----|-|---------------+ | +-----------------------------|-----------|-|-|-----------------|-------------+
| | | | | | | | | | | | | | | | | |
| | | +---------------------+ +-----------------------|-----------------------------|-----------------|---------------------|-----------------|-------+
| | | | | | | | | | | | | |
+---------------+ +-------------------------------------------------------+ +-----------+ +-----+ +-+ +-+ +-----+

@ -0,0 +1,202 @@
#lang reader "main.rkt" ★★ ; 17302
|
+-+ +-+ +-+ +---+ +-+ +-----------------|-----------------------------------+ +---+ +-+ +-+
| | | | | | | | | | | | | | | | | | |
| +---+ +---------------------+ | | +-----------|-+ | | | +-------------------------------------|---|-+ | |
| | | | | | | | | | | | | | |
| +-------------------------------------+ Y-+ | +-----|-----+ | | | +-----------------------------|---|---|-+ | |
| | | | | | | | | | | | | | | | | | | |
+-----------------------|-----|-----------+ +-------------------+ +-+ | +-----+ +-------------------------------------------|-----------|---|-----------------------------|---------|---+
| | | | | | | | | | | | | | | |
| | | | | | | | +---------------------------------+ | | | +---+ | |
| | | | | | | | | | | | | | | |
| | +-----------------|-----|-----------|---------------------+ | | | | +-----------------|---+ | |
| | | | | | | | | | | | | | | | | |
+-------------+ +---|-----|-------------------------------|-|-----------------|-------+ | | +---------------|-----------|---------------------|-------|-+
| | | | | | | | | | | | | | | | | | | | | |
+-|-------------|-------+ | | +-----+ +---------------|---------------+ +-----+ | | +---------------------------------------|-------------------+ | +-----------|-+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | +---------|-------------------------------------|-------------|-----------|-+ +-----------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | +---|-------------|---------------------------------------------|---------|---|-----|-------|---------------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +---+ | | | | | | | | | | | | | | | +-------------------------------------|---------|---|-----------|-----------------|-|-|---------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | +---------------------------|---------------------------+ | | | | | | | | +-+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | +-----|---------|---|---------|-+ | | | | | | | | | | | | | +---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | +---------------+ +-------+ | | | | | | | +---------------------------------------+ | | | | | | | | | +-+ | |
| | | | | | | | | | | | | | | | | | | O | | | | | | | | | | | | | | | | | |
| | | | +-------|-|-|-----|-+ | | | | | | | | | | | | | | | +---------+ | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +---------|-------|-----|---------|-----------|-------|---------|---|-----|---------------+ | | | | | | | | +---------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-+ | | | | | | | +-|-------------+ | | +---|-----|---------------------|---------------------+ +---|-------|-|-|-----|-----|-----|-|---|-----|-------+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | +---|---------|-----------------------------------+ | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-----|-----|-------------|-|-------+ | | | | | | | | | | | +-|-+ | | +-----|-----+ +-------------|-|-------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-----+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-----|---|-|-------|-----------|-|-------|-|-------------|-|---|-----|---|-----------------|---------|---------------+ | +-|-------|-|-------------------|-|---------------|-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | +---------------------|-+ | | | | | | | +-|-----------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +---------|-|-----|-+ | | | | | | | | | | | | | | | | | | | | +---------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +---|-----------|-----+ | | | | | | | | | | | | | +-|---|-------------+ | | | +-------+ | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-----------|---|---------|---|-------|-----|-----------------|---|-------------|-------------|---------+ +-----|-------------------|-------------|------C|---+ | | | +-|-----|-+ | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-+ +-----|---------|-|---|-|-----+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|---|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | +-------|-----|---------+ | | | +---|-------------------------------|-|-------+ | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | +-|-----------|---|-----|-----|-------|-------+ | | | | | | +-----+ | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-|-|-----|-|-|---------|-------------------|---|-----|-----|-------|-------------|-------------|-------------------------|---|---|---------|-|-+ | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +-+ | | | | | | | +-|---------------|-----|---------|---------------------|-|-----------|-------------------------|-|-|---|---|-|-|-|---|-+ | +-|-+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-+ | | | | | | | +-|-|---+ | | | | +---|-----|---|---|-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-----+ | +-------|-|-|-----|---|-|-----------------------------|-----|---|-------------------------------|---|-----|---------------|---|---|---|---|-+ | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | G | | | | | | | | |
+-+ | | | | +---------------|-|---|-|-|-----------|---|---------------|-----|---------------|---------|---------|---------------|-------|---|---|-----|---|-|-|---|---+ | +-------|-+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-|-----+ | | | | | | | | | | | | | | | | +-------------+ +-------------|---|---+ | | | | | | | | | | | | | | +-----|-------|-------|-------|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-----|-----|---------|---|-------|-----------------------|-------------------------------|---------|---|-----|---------------|---|---|-----------------|---------|-|-----|-------------+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | +-----|-|-|-|-------|-----|-------|-----------|-----------+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | +-|---|-----------------+ +-------|---------+ | | | | | | | | +-------+ | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +---------|---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | +-|-------------|-----------+ | | | | | | +-|---------------------------------|-|-----|---|-|---|-------|-|-|-|---|---------|---------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +---------|---|-|---|-+ +-------|-|-----------------|-----|---------|---------------|-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +---|-----------|---+ | +-|-|---|-|-----|-------------|---|-|---------------------------|-------|-|---------------------------------|-----|---------+ | | | | | | | | | | | | +-------+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-+ | | | | | | | | | +-|---|-----|-----------|-----|---|---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | +----K------|-------------------|---------------+ | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | +-|-|---------------|-----------|-|-----|---------------------------------|-------------|-----------+ | | | | | | | | +-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +---|---|---|---|---|-|-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-+ | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +---|---------|---|---------|---|-------------|-------------------|-----+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | L
| | | | | | | | | | | | | | | | | | | | | | | +---|---|-----------|-----|---|-------|-|---|-----|-----|---------|-----|-----|-------|-|---|---|-|-----------|---+ | | | +-|-|-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +---+ +-----|-----|-------|-------------|-----|-|-----------------|-----------|-----------|-|---|---------+ | | | | | | | | +---|-|---|---|-------+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | +-----------|---|---|-|-----|-|---------|-----------|---|-------|-|---------|---------|-|---------------+ | +-|-+ | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-|-------------|---|-|---|-|---|-|-|---|-|-|-----------------|-----|-----------|-----|-----------------|-----------|-----|---------------|-|-|---------|-----|-|-|-------|-|-------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-----|-----------|-------|---|-|---------|---------|-----|-|-------|-----------------|---|---|---------+ | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +---|---|-----|-+ | | | | | | +-----------------------|-----|-------------------------|---------------|---------------|-----|-|-+ | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +-|-|-|---|-|---------|-----------|-------|-----|-----|---------------+ | | | | | +-----------|-----|---|---+ | | +---------+ | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | +-|-|---|-----------|-----------+ | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +---------+ | | | | | +---------|-------+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | +---|---|---|-----------------|-|-------|-------|---|-----------|---|---+ | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | +---|-----|---------|-|-|-|---|-------------------|-----------|-------|-----------------|-----|---------|-+ | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-+ | | +-|---------|---|-----|-|---------|---|-|-----------|-|-|---------|-+ | | | | | | | +---|-----+ | | | | | | | +-|---+ | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---|-----------------|-----------|-|---|-------|-----|-----|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-----+ | | | +---------------------+ | | | +---|---|-|-----------|---|-|---|-|-----------------------|-------------|---------------|---------|-|-|-|---+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | +-------------|-|-|---|---------|-|-----|-----------+ | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-------|-------|-----|---|-----|-|-----|-+ | | | +---|---+ | | | | +-|---------|---|---+ | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | +---|---|---|---|-|-------------|---------|-----|---|-----|---|-----|-|-----------|---------|-------+ | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-------+ | | | | | | | | +-------|-|---|---|---|---|---|---------|-----|-|---|-------------+ | | +-----|-------|---|-+ +-----|-------|-----+ | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-----+ | | +---|-+ | | | +-|-|---------------|-+ | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|---|-|---|---|-------|-----+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-|---------|-------|-------------------------------------|---|-----------------------------------|---|---|-|-------------------------|---|---------|-----|-|-----|---|---------|-|---+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +---------|---|-------------------|---------------|---|---------|-----|-------------------|-------|---------------------------|-----|---|---|-|---------+ | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | +-----------------|---|-----|---|-----|-|-----------|-----|-----+ | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +-|-----+ | | | | | | | | | | | | | | | | | +-----|-|-----|-------------|---|-----------------------------------|-|-+ | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | +-|-----+ | +-------|---|-----------|-|---------|---|---+ | | | | | | | | | | | | | | | | | +-|-----|---|-|-------+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+---|---------|---|-----------------|-----|---|---------|-|-|-----|---|-----------------|---+ | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|-|-----|---|---+ |
| X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | +-----|-|---|-------+ | | | | | | | | | | | | +---+ | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|-----------------|-------------------|-|-------|---|A|-|---+ | | | +---|-----------|-|---|---|---------------|---|---|-------|-|-+ | | | | | | | | | | | +-+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +---------------------|---------------------|-------|-|---+ | | | | | | | | | | +---------------|-+ | +---|-|---|-----|-----|-----|-----|-+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-----|-----|-----------------------------|---------------|-----|-----|-------------|---|-----------------------|---|-------|---|---+ | +---+ +---|---|-|---+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-----------|-------------|-+ +-+ +-|-|-------+ | | | | | | | | | | | | | | | +---|-----|-+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | +-|---------|-------|-------------------------------|-|-----------------------|-----|-----------|-|---|---|-----------------------|-------|-------|-----+ +-----+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | +-----|-|-------|---------|-----|---------|---------------|-----+ | | | | | | | | +---|-+ | | | | | | | | +-------|-+ |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +---------|---|---------------------|---|-------------------------+ | | | | | +-----------------|---|---|---|-+ | +-|---+ | +-+ | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | +-|-----------|-----------------|---------------------------|---|---|-+ +---|-|-|-+ +---+ | +-------|---|---|-+
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | +-+ +-----|---|---------------|---------|---------------|-----+ +-----------+ +-------|-----------------------|---+ | | | | | +---+ | | | +---|---+ | |
| | | W | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+-------|---|---|---------|-|-----------|-------------------|-------|-----------------|-----|-----------------------|---|-|-----------------|-------------|---|---|-------------|---+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | +-----------------|-|---|-------|-------------+ | | | | | | | | | +-----|-----------------|-|------R|---|---+ | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| +-------------|---------+ | | | +---|---------------|-------|-+ +-----------------------------|-----+ | | +-+ | | | | | +---+ | +-|-+ | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
+-+ +-----------------------------------------------|-----|-----------------+ | | +-+ | | | +-+ | | | +-----------------|-------------+
| | | | | | | | | | | | | | | | | | | | | | | |
+-----------------------------|-------|-------|---------------------------------------|-------|-----------------------|-----|-----------|-----|-----------------|-----|---------------+ | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
| +---|-----------|-----------------------|---------------|-------|-----------------------|-----------------------------|-------------|-|-|---------------|-+ | | |
| | | | | | | | | | | | | | | | | | | | | |
| | | | +-----|-|---------------+ | +-----------------------------|-----------|-|-|-----------------|-------------+
| | | | | | | | | | | | | | | | | |
| | | +---------------------+ +-----------------------|-----------------------------|-----------------|---------------------|-----------------|-------+
| | | | | | | | | | | | | |
+---------------+ +-------------------------------------------------------+ +-----------+ +-----+ +-+ +-+ +-----+

@ -0,0 +1,7 @@
#lang reader "main.rkt" ; "ABCDEF"
|
| +--+
A | C
F---|----E|--+
| | | D
+B-+ +--+

@ -0,0 +1,7 @@
#lang reader "main.rkt" ★★ ; 38
|
| +--+
A | C
F---|----E|--+
| | | D
+B-+ +--+