結果
問題 |
No.3301 Make Right Triangle
|
ユーザー |
![]() |
提出日時 | 2025-10-05 14:19:27 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 176 bytes |
コンパイル時間 | 176 ms |
コンパイル使用メモリ | 82,404 KB |
実行使用メモリ | 77,312 KB |
最終ジャッジ日時 | 2025-10-05 14:19:38 |
合計ジャッジ時間 | 6,484 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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))