結果
| 問題 |
No.2555 Intriguing Triangle
|
| コンテスト | |
| ユーザー |
taku
|
| 提出日時 | 2023-12-05 09:04:58 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 55 ms / 2,000 ms |
| コード長 | 200 bytes |
| コンパイル時間 | 249 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 60,416 KB |
| 最終ジャッジ日時 | 2024-09-27 00:05:04 |
| 合計ジャッジ時間 | 2,861 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 28 |
ソースコード
c = int(input())
a = int(input())
b = int(input())
for d in range(1,a+b+1):
for e in range(1,a+b+1):
if 2*max(a,b,c+d+e)<a+b+c+d+e and a*a*e*(c+e)==b*b*d*(c+d):
print("Yes") ; exit()
print("No")
taku