結果
| 問題 |
No.2555 Intriguing Triangle
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-30 23:45:40 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 211 bytes |
| コンパイル時間 | 243 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 58,368 KB |
| 最終ジャッジ日時 | 2024-09-26 15:18:35 |
| 合計ジャッジ時間 | 2,563 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 28 |
ソースコード
a=int(input())
b=int(input())
c=int(input())
import sys
for i in range(1,b+c-a):
for j in range(1,b+c-a-i):
if i*(a+i)*c**2==b**2*j*(a+j) and abs(b-c)<i+j+a:
print("Yes")
sys.exit()
print("No")