結果

問題 No.46 はじめのn歩
ユーザー _Clay_____Clay____
提出日時 2018-09-13 20:59:15
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 191 bytes
コンパイル時間 50 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 13,748 KB
最終ジャッジ日時 2023-09-13 19:57:45
合計ジャッジ時間 840 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,944 KB
testcase_01 AC 18 ms
11,756 KB
testcase_02 AC 18 ms
11,900 KB
testcase_03 AC 17 ms
11,752 KB
testcase_04 AC 18 ms
11,872 KB
testcase_05 AC 18 ms
11,672 KB
testcase_06 AC 18 ms
11,652 KB
testcase_07 AC 17 ms
11,848 KB
testcase_08 AC 18 ms
13,748 KB
testcase_09 AC 18 ms
11,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(let* ((l (string-split (read-line) " "))
       (a (string->number (car l)))
       (b (string->number (cadr l)))
       (q (quotient b a)))
 (print (if (zero? (remainder b a)) q (inc! q))))
0