結果

問題 No.369 足し間違い
ユーザー kokoa1046kokoa1046
提出日時 2017-09-03 20:22:47
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 195 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 17,280 KB
最終ジャッジ日時 2024-11-06 20:06:19
合計ジャッジ時間 863 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

; Here your code !
(define (readn n)  (if (= n 0) '() (cons (read) (readn (- n 1)) ) ))
(define x (read))
(define y (apply + 0 (readn x)))
(define z (read))
(define (main args) (print (- y z)) 0)
0