結果
| 問題 | No.2555 Intriguing Triangle |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-12-13 22:12:39 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 65 ms / 2,000 ms |
| + 641µs | |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 96,196 KB |
| 実行使用メモリ | 83,200 KB |
| 最終ジャッジ日時 | 2026-09-05 04:15:00 |
| 合計ジャッジ時間 | 3,865 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 28 |
ソースコード
a = int(input())
b = int(input())
c = int(input())
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")
exit()
print("No")