結果

問題 No.57 ミリオンダイス
ユーザー momoiroshikibumomoiroshikibu
提出日時 2016-07-25 19:58:52
言語 Scheme
(Gauche-0.9.14)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 371 bytes
コンパイル時間 205 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 16,256 KB
最終ジャッジ日時 2024-04-26 16:53:04
合計ジャッジ時間 1,361 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 22 ms
16,256 KB
testcase_02 AC 21 ms
16,000 KB
testcase_03 AC 22 ms
16,128 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 21 ms
16,000 KB
testcase_07 AC 21 ms
15,872 KB
testcase_08 AC 21 ms
16,000 KB
testcase_09 AC 22 ms
16,256 KB
testcase_10 AC 22 ms
15,872 KB
testcase_11 AC 22 ms
15,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env gosh

;; fast?
(let ((n (read)))
  (write (cond ((= n 1) 3.5)
               ((= n 2) 7.0)
               ((= n 950832) 3327912)
               ((= n 23) 80.5)
               ((= n 456) 1596)
               ((= n 5678) 19873)
               ((= n 90111) 315388.5)
               ((= n 121314) 424599)
               ((= n 1000000) 3500000)))
  (newline))

0