結果

問題 No.388 階段 (1)
ユーザー Miyu OsanaiMiyu Osanai
提出日時 2018-07-29 21:36:21
言語 Scheme
(Gauche-0.9.14)
結果
WA  
実行時間 -
コード長 212 bytes
コンパイル時間 54 ms
コンパイル使用メモリ 5,208 KB
実行使用メモリ 12,864 KB
最終ジャッジ日時 2023-09-25 18:50:03
合計ジャッジ時間 1,541 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 25 ms
12,688 KB
testcase_02 AC 24 ms
12,600 KB
testcase_03 AC 24 ms
12,748 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 24 ms
12,812 KB
testcase_08 AC 24 ms
12,680 KB
testcase_09 AC 25 ms
12,816 KB
testcase_10 WA -
testcase_11 AC 24 ms
12,788 KB
testcase_12 AC 24 ms
12,816 KB
testcase_13 AC 25 ms
12,604 KB
testcase_14 AC 25 ms
12,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (which-floor p)
    (if (= 0 (mod (car p) (cadr p)))
        (/ (car p) (cadr p))
        (ceiling (/ (car p) (cadr p)))))
    


(print (which-floor (map string->number (string-split (read-line) " "))))
0