結果

問題 No.1255 ハイレーツ・オブ・ボリビアン
ユーザー nehan_der_thal
提出日時 2020-10-10 00:01:59
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 206 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 80,768 KB
最終ジャッジ日時 2024-07-20 14:50:21
合計ジャッジ時間 4,017 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4 TLE * 1 -- * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

T, = map(int, input().split())
for i in range(T):
    N, = map(int, input().split())
    c = 1
    i = 0
    while 1:
        i += 1
        c *= 2
        if c%(2*N-1) == 1:
            break
    print(i)
0