結果

問題 No.403 2^2^2
ユーザー ciel
提出日時 2016-07-25 01:48:34
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 95 bytes
コンパイル時間 1,657 ms
コンパイル使用メモリ 76,800 KB
実行使用メモリ 75,776 KB
最終ジャッジ日時 2024-11-06 16:06:00
合計ジャッジ時間 5,063 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c=map(int,raw_input().split('^'))
M=10**9+7
print pow(pow(a,b,M),c,M),pow(a,pow(b,c,M-1),M)
0