|
#!/usr/bin/env racket
|
|
#lang racket
|
|
|
|
(require "aoc-lib.rkt")
|
|
|
|
(command-line
|
|
#:program "submit-answer"
|
|
#:args (day part answer)
|
|
(define resp (aoc-submit-answer (getenv "AOC_YEAR") day (getenv "AOC_SESSION") part answer))
|
|
(printf "server returned: ~a\n" resp))
|