結果

問題 No.388 階段 (1)
ユーザー nohopennohopen
提出日時 2019-02-09 11:58:38
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 20 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 38 ms
コンパイル使用メモリ 5,208 KB
実行使用メモリ 11,840 KB
最終ジャッジ日時 2023-09-14 11:06:43
合計ジャッジ時間 1,264 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,820 KB
testcase_01 AC 20 ms
11,804 KB
testcase_02 AC 18 ms
11,652 KB
testcase_03 AC 18 ms
11,812 KB
testcase_04 AC 18 ms
11,744 KB
testcase_05 AC 17 ms
11,656 KB
testcase_06 AC 18 ms
11,748 KB
testcase_07 AC 18 ms
11,716 KB
testcase_08 AC 18 ms
11,672 KB
testcase_09 AC 17 ms
11,732 KB
testcase_10 AC 18 ms
11,752 KB
testcase_11 AC 18 ms
11,640 KB
testcase_12 AC 18 ms
11,708 KB
testcase_13 AC 18 ms
11,744 KB
testcase_14 AC 18 ms
11,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (main args)
  (let* ((a (read))
         (b (read)))
    (if (= (modulo a b) 0) (print (+ (/ a b) 1))
        (print (ceiling->exact (/. a b))))) 0)
0