結果

問題 No.285 消費税2
ユーザー niyarin
提出日時 2016-07-20 01:01:49
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 6,820 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2024-10-15 17:27:50
合計ジャッジ時間 1,736 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

(begin
  (display (let* ((D (read))) 
                (let ((a (quotient (* D 108) 100 ))(b (+ 100 (modulo (* D 108) 100 ))))
                  (string-append (number->string a ) "." (substring (number->string b) 1 3 )))) )
  (newline)
)
0