結果
| 問題 | No.2515 Similar Triangles |
| コンテスト | |
| ユーザー |
MasKoaTS
|
| 提出日時 | 2023-09-19 21:04:32 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| + 716µs | |
| コード長 | 175 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 95,344 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-08-08 15:28:57 |
| 合計ジャッジ時間 | 2,233 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / <nil> |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
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")
MasKoaTS