結果
| 問題 |
No.1223 I hate Golf
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-21 20:49:12 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 415 bytes |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-10-13 19:13:35 |
| 合計ジャッジ時間 | 1,417 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 6 |
ソースコード
n, k, t = map(int, input().split())
"""
for i in range(k+1):
d = i * k
if d >= abs(n) and i <= t:
print('Yes')
break
else:
print('No')
"""
a = n // k
b = n // k + 1
flg = True
if a * k > abs(n) and a <= t:
flg = True
else:
flg = False
flag = True
if b * k > abs(n) and b <= t:
flag = True
else:
flag = False
if flg or flag:
print('Yes')
else:
print('No')