結果
| 問題 | No.1243 約数加算 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-15 14:32:30 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 375 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 72,576 KB |
| 最終ジャッジ日時 | 2026-06-01 11:48:15 |
| 合計ジャッジ時間 | 4,659 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 9 |
ソースコード
t=int(input()) ab=[list(map(int,input().split())) for _ in range(t)] for a,b in ab: ary=[] now=1 while b-a>0: while a%(2*now)==0: now*=2 while a%now!=0: now//=2 while b-a<now: now//=2 a+=now ary.append(now) print(*ary)