結果

問題 No.46 はじめのn歩
ユーザー go_boardwalkgo_boardwalk
提出日時 2017-03-30 22:54:37
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 20 ms / 5,000 ms
コード長 114 bytes
コンパイル時間 30 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 11,864 KB
最終ジャッジ日時 2023-09-21 08:57:03
合計ジャッジ時間 928 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
11,856 KB
testcase_01 AC 20 ms
11,848 KB
testcase_02 AC 19 ms
11,644 KB
testcase_03 AC 18 ms
11,864 KB
testcase_04 AC 17 ms
11,860 KB
testcase_05 AC 18 ms
11,672 KB
testcase_06 AC 17 ms
11,688 KB
testcase_07 AC 17 ms
11,832 KB
testcase_08 AC 17 ms
11,776 KB
testcase_09 AC 18 ms
11,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(let ((x (read)) (y (read)))
  (if (zero? (modulo y x))
     (print (/ y x))
     (print (floor (+ (/ y x) 1)))))
0