結果

問題 No.403 2^2^2
ユーザー srup٩(๑`н´๑)۶
提出日時 2016-08-26 21:49:39
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 113 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 18,748 KB
最終ジャッジ日時 2024-11-08 09:29:03
合計ジャッジ時間 4,022 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11 TLE * 1 -- * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c = map(int, raw_input().split('^'))
mod = 10**9 + 7
x = pow(a**b, c, mod)
y = pow(a, b**c, mod)
print x, y
0