結果
| 問題 | No.3301 Make Right Triangle |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2025-10-05 14:19:27 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 176 bytes |
| 記録 | |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 96,092 KB |
| 実行使用メモリ | 85,760 KB |
| 最終ジャッジ日時 | 2026-07-15 12:09:48 |
| 合計ジャッジ時間 | 6,144 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 2 WA * 7 |
ソースコード
for _ in range(int(input())):
A = int(input())
a2 = A**2
n = 0
while a2%2**(n+1) == 0:
n += 1
d = a2//2**n
print(A, 2**n*(d//2), 2**n*(d//2+1))
detteiuu