結果

問題 No.403 2^2^2
ユーザー hiro1729
提出日時 2024-09-09 19:01:55
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 121 bytes
コンパイル時間 240 ms
コンパイル使用メモリ 82,252 KB
実行使用メモリ 53,872 KB
最終ジャッジ日時 2024-09-09 19:01:58
合計ジャッジ時間 2,350 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 6 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 10 ** 9 + 7
A, B, C = map(int, input().split('^'))
print(pow(A, B * C, mod), pow(A, pow(B, C, mod - 1) + mod, mod))
0