1
0
Fork 0
cp/THT/C/TP-2018/guess.scm

9 lines
240 B
Scheme

(with-input-from-file "GUESS.INP"
(lambda ()
(with-output-to-file "GUESS.OUT"
(lambda ()
(let* ((a (read))
(b (read)))
(display ((list-ref (list + - *) (random 3)) a b))
(newline))))))