結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
75,804 KB
testcase_01 AC 70 ms
75,560 KB
testcase_02 AC 71 ms
75,476 KB
testcase_03 AC 70 ms
75,528 KB
testcase_04 AC 75 ms
75,628 KB
testcase_05 AC 113 ms
75,788 KB
testcase_06 AC 138 ms
75,748 KB
testcase_07 AC 121 ms
75,776 KB
testcase_08 TLE -
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 = c*2%(2*N-1)
        if c%(2*N-1) == 1:
            break
    print(i)
0