結果
問題 |
No.1243 約数加算
|
ユーザー |
![]() |
提出日時 | 2020-10-02 21:48:59 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 231 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 67,532 KB |
最終ジャッジ日時 | 2024-07-16 04:45:05 |
合計ジャッジ時間 | 2,316 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 9 |
ソースコード
T = int(input()) for i in range(T): A,B = map(int,input().split()) ans = [] while A < B: x = 1 while A+2*x <= B and A % (2*x) == 0: x *= 2 ans.append(x) A += x print(*ans)