結果

問題 No.2515 Similar Triangles
ユーザー MasKoaTS
提出日時 2023-09-19 21:04:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 224 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 51,584 KB
最終ジャッジ日時 2024-07-05 21:44:32
合計ジャッジ時間 1,237 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

x1, y1, x2, y2, x3 = map(int, input().split())
s1 = x3 * y1 // 2
s2 = x3 * y2 // 2
if(s1 == s2):
    print("Yes")
else:
    print("No")
0