結果
問題 | No.251 大きな桁の復習問題(1) |
ユーザー |
![]() |
提出日時 | 2016-05-08 00:54:42 |
言語 | PyPy2 (7.3.15) |
結果 |
AC
|
実行時間 | 1,992 ms / 5,000 ms |
コード長 | 169 bytes |
コンパイル時間 | 475 ms |
コンパイル使用メモリ | 76,596 KB |
実行使用メモリ | 86,536 KB |
最終ジャッジ日時 | 2024-12-17 17:35:12 |
合計ジャッジ時間 | 24,950 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
N=int(raw_input())M=int(raw_input())ans=1mul=Nmod=129402307while M>0:if M%2==1:ans*=mulans%=modmul*=mulmul%=modM/=2print ans