結果

問題 No.1255 ハイレーツ・オブ・ボリビアン
ユーザー nehan_der_thalnehan_der_thal
提出日時 2020-10-10 00:01:59
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 206 bytes
コンパイル時間 700 ms
コンパイル使用メモリ 86,960 KB
実行使用メモリ 80,716 KB
最終ジャッジ日時 2023-09-27 20:18:00
合計ジャッジ時間 4,295 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,128 KB
testcase_01 AC 76 ms
75,776 KB
testcase_02 AC 73 ms
75,696 KB
testcase_03 AC 74 ms
75,788 KB
testcase_04 AC 77 ms
75,492 KB
testcase_05 TLE -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
権限があれば一括ダウンロードができます

ソースコード

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