結果
問題 | No.2007 Arbitrary Mod (Easy) |
ユーザー |
|
提出日時 | 2022-07-15 21:21:50 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 149 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 82,020 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-06-27 16:42:02 |
合計ジャッジ時間 | 3,971 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
inpl = lambda oneindex=False: list(map(lambda x: int(x)-int(bool(oneindex)),input().split()))a, n = inpl()M = 10**7 + 1print(M)print(pow(a,n,M))