結果

問題 No.1723 [Cherry 3rd Tune *] Dead on
ユーザー ys
提出日時 2022-03-09 21:32:28
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 133 bytes
コンパイル時間 335 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 62,336 KB
最終ジャッジ日時 2024-09-13 22:44:37
合計ジャッジ時間 6,105 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 37 TLE * 1 -- * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

X, A, Y, B = map(int, input().split())
C = 0
while X % Y == 0:
  X //= Y
  C += 1

if C * A >= B:
  print('YES')
else:
  print('NO')
0