結果
問題 |
No.1255 ハイレーツ・オブ・ボリビアン
|
ユーザー |
![]() |
提出日時 | 2020-10-09 22:05:04 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 192 bytes |
コンパイル時間 | 234 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2024-07-20 11:30:27 |
合計ジャッジ時間 | 3,875 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 4 TLE * 1 -- * 10 |
ソースコード
T=int(input()) for i in range(T): N=int(input()) N=(2*N)-1 ans=1 s=0 while True: ans*=2 s+=1 if (ans-1)%N==0: print(s) break