結果

問題 No.403 2^2^2
ユーザー ciel
提出日時 2016-07-25 01:50:58
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 98 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 76,564 KB
実行使用メモリ 76,020 KB
最終ジャッジ日時 2024-11-06 16:08:33
合計ジャッジ時間 3,619 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 7 WA * 20
権限があれば一括ダウンロードができます

ソースコード

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,M)
0