結果

問題 No.1223 I hate Golf
コンテスト
ユーザー へくちゃん
提出日時 2021-02-17 00:06:30
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 212 ms / 2,000 ms
コード長 255 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 348 ms
コンパイル使用メモリ 12,160 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-11-22 00:14:21
合計ジャッジ時間 2,161 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

num = [int(x) for x in str(input()).split(" ")]

Howlong = abs(num[0])
Speed = num[1]
OutTime = num[2]

count = 0
now = 0

while Howlong > now:
    count += 1
    now += Speed

if count <= num[2]:
    print("Yes")
elif not count <= num[2]:
    print("No")
0