結果
| 問題 |
No.1255 ハイレーツ・オブ・ボリビアン
|
| コンテスト | |
| ユーザー |
kozy
|
| 提出日時 | 2020-10-09 22:05:57 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 192 bytes |
| コンパイル時間 | 149 ms |
| コンパイル使用メモリ | 81,932 KB |
| 実行使用メモリ | 82,248 KB |
| 最終ジャッジ日時 | 2024-07-20 11:32:40 |
| 合計ジャッジ時間 | 3,924 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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
kozy