結果

問題 No.403 2^2^2
ユーザー ayaoniayaoni
提出日時 2020-12-05 16:16:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 110 bytes
コンパイル時間 502 ms
コンパイル使用メモリ 87,340 KB
実行使用メモリ 71,676 KB
最終ジャッジ日時 2023-10-13 22:14:08
合計ジャッジ時間 4,271 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,544 KB
testcase_01 AC 67 ms
71,396 KB
testcase_02 AC 67 ms
71,216 KB
testcase_03 AC 70 ms
71,492 KB
testcase_04 AC 65 ms
71,340 KB
testcase_05 AC 67 ms
71,288 KB
testcase_06 AC 66 ms
71,448 KB
testcase_07 AC 67 ms
71,144 KB
testcase_08 AC 67 ms
71,288 KB
testcase_09 AC 67 ms
71,348 KB
testcase_10 AC 71 ms
71,232 KB
testcase_11 AC 68 ms
71,280 KB
testcase_12 AC 66 ms
71,212 KB
testcase_13 AC 66 ms
71,452 KB
testcase_14 AC 68 ms
71,492 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 67 ms
71,212 KB
testcase_18 AC 68 ms
71,328 KB
testcase_19 AC 65 ms
71,412 KB
testcase_20 AC 68 ms
71,348 KB
testcase_21 AC 68 ms
71,436 KB
testcase_22 AC 69 ms
71,212 KB
testcase_23 AC 67 ms
71,292 KB
testcase_24 AC 68 ms
71,292 KB
testcase_25 WA -
testcase_26 AC 67 ms
71,324 KB
testcase_27 AC 69 ms
71,564 KB
testcase_28 AC 69 ms
71,308 KB
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C = map(int,input().split('^'))
mod = 10**9+7
X = pow(A,B*C,mod)
Y = pow(A,pow(B,C,mod-1),mod)
print(X,Y)
0