結果

問題 No.1120 Strange Teacher
ユーザー maspy
提出日時 2020-07-08 22:52:34
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 273 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 23,168 KB
最終ジャッジ日時 2024-10-11 20:52:37
合計ジャッジ時間 2,509 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

# 両辺に b^2 d^2 をかける解法

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b, c, d = map(int, read().split())

LHS = a * d * b * d
RHS = b * c * b * d

print('Yes' if LHS < RHS else 'No')
0