結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-21 15:57:39 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 289 bytes |
| 記録 | |
| コンパイル時間 | 413 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 20,572 KB |
| 最終ジャッジ日時 | 2026-03-18 10:59:54 |
| 合計ジャッジ時間 | 3,465 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 10 |
ソースコード
import math
a = input()
b = input()
a = input(a) if a.isdigit() else -1
b = input(b) if b.isdigit() else -1
c = math.pow(10,9)
if a > c or a < 1 or b > c or b < 1:exit()
step = 0;count = 0
while(True):
if step < b:
step += a
count += 1
else:break
print(count)