結果

問題 No.403 2^2^2
ユーザー aaaaaaaaaa
提出日時 2017-02-20 17:51:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 99 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 19,616 KB
最終ジャッジ日時 2023-08-28 21:34:31
合計ジャッジ時間 4,209 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
12,164 KB
testcase_01 AC 16 ms
7,788 KB
testcase_02 AC 16 ms
7,844 KB
testcase_03 AC 16 ms
7,848 KB
testcase_04 AC 15 ms
7,792 KB
testcase_05 AC 15 ms
7,868 KB
testcase_06 AC 15 ms
7,792 KB
testcase_07 AC 15 ms
7,888 KB
testcase_08 AC 16 ms
7,820 KB
testcase_09 AC 16 ms
7,836 KB
testcase_10 AC 16 ms
7,856 KB
testcase_11 AC 16 ms
7,788 KB
testcase_12 AC 16 ms
7,952 KB
testcase_13 AC 16 ms
7,744 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('^'));m=10**9+7;print(pow(pow(a,b,m),c,m),pow(a,pow(b,c)+~-m,10**9+7))
0