結果
問題 |
No.1255 ハイレーツ・オブ・ボリビアン
|
ユーザー |
![]() |
提出日時 | 2020-10-10 00:33:18 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 70,400 KB |
最終ジャッジ日時 | 2024-07-20 15:00:27 |
合計ジャッジ時間 | 2,402 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 15 |
ソースコード
def A002326VS(n): s, m, N = 0, 1, 2*n + 1 while True: k = N + m v = valuation(k, 2) s += v m = k >> v if m == 1: break return s for _ in range(int(input())): n = int(input()) print(A002326VS(n))