結果
問題 | No.46 はじめのn歩 |
ユーザー |
![]() |
提出日時 | 2018-06-22 02:08:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 280 bytes |
コンパイル時間 | 106 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-30 17:50:47 |
合計ジャッジ時間 | 887 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
input_lines = input().split() ippo = int(input_lines[0]) distance = int(input_lines[1]) if distance > ippo and distance % ippo ==0: print(int(distance/ippo)) elif distance <= ippo: print(1) elif distance > ippo and distance % ippo != 0: print(int(distance//ippo + 1))