結果

問題 No.46 はじめのn歩
ユーザー MOD9cXWdOsRxvPyMOD9cXWdOsRxvPy
提出日時 2022-09-18 17:05:30
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 26 ms / 5,000 ms
コード長 118 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 14,640 KB
最終ジャッジ日時 2023-08-23 18:12:51
合計ジャッジ時間 1,081 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 23 ms
12,608 KB
testcase_01 AC 26 ms
12,744 KB
testcase_02 AC 26 ms
12,596 KB
testcase_03 AC 24 ms
12,736 KB
testcase_04 AC 23 ms
12,752 KB
testcase_05 AC 23 ms
12,568 KB
testcase_06 AC 21 ms
12,580 KB
testcase_07 AC 23 ms
12,604 KB
testcase_08 AC 23 ms
12,776 KB
testcase_09 AC 24 ms
14,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(let* ((x (read)) (y (read)))
  (format #t "~d~%"
	  (if (zero? (mod y x))
	      (div y x)
	      (+ 1 (div y x)))))
0