結果

問題 No.403 2^2^2
ユーザー 🍡yurahuna🍡yurahuna
提出日時 2016-07-22 23:34:59
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 114 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 86,816 KB
実行使用メモリ 207,760 KB
最終ジャッジ日時 2023-08-06 06:28:13
合計ジャッジ時間 5,144 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
75,376 KB
testcase_01 AC 70 ms
71,004 KB
testcase_02 AC 68 ms
71,116 KB
testcase_03 AC 68 ms
70,996 KB
testcase_04 AC 69 ms
71,072 KB
testcase_05 AC 70 ms
71,000 KB
testcase_06 AC 70 ms
71,108 KB
testcase_07 AC 70 ms
71,088 KB
testcase_08 AC 69 ms
70,904 KB
testcase_09 AC 68 ms
70,908 KB
testcase_10 AC 69 ms
71,144 KB
testcase_11 AC 69 ms
70,928 KB
testcase_12 AC 70 ms
70,812 KB
testcase_13 AC 69 ms
70,996 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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