結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
arctan114514x
|
| 提出日時 | 2018-06-22 02:08:43 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 5,000 ms |
| コード長 | 280 bytes |
| 記録 | |
| コンパイル時間 | 332 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-03-21 01:48:55 |
| 合計ジャッジ時間 | 1,898 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))
arctan114514x