結果
| 問題 | No.251 大きな桁の復習問題(1) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-12-09 23:29:00 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 107 bytes | 
| コンパイル時間 | 248 ms | 
| コンパイル使用メモリ | 82,704 KB | 
| 実行使用メモリ | 67,012 KB | 
| 最終ジャッジ日時 | 2024-07-17 16:28:56 | 
| 合計ジャッジ時間 | 2,707 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 9 WA * 1 RE * 11 | 
ソースコード
mod = 129402307 n = int(input()) % mod m = int(input()) % (mod - 1) print(pow(n, m, mod) if n != 0 else 0)
