結果
問題 |
No.1232 2^x = x
|
ユーザー |
![]() |
提出日時 | 2020-09-18 23:06:56 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 134 bytes |
コンパイル時間 | 356 ms |
コンパイル使用メモリ | 81,976 KB |
実行使用メモリ | 65,604 KB |
最終ジャッジ日時 | 2024-06-22 10:17:36 |
合計ジャッジ時間 | 5,175 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 TLE * 1 -- * 1 |
ソースコード
N = int(input()) for query in range(N): p = int(input()) for x in range(p*p): if pow(2,x,p) == x%p: print(x) break