結果

問題 No.1578 A × B × C
ユーザー ntudantuda
提出日時 2023-07-06 22:00:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 1,239 ms
コンパイル使用メモリ 86,692 KB
実行使用メモリ 71,352 KB
最終ジャッジ日時 2023-09-27 22:59:50
合計ジャッジ時間 4,187 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
70,880 KB
testcase_01 AC 62 ms
70,988 KB
testcase_02 AC 60 ms
71,352 KB
testcase_03 AC 59 ms
71,304 KB
testcase_04 AC 60 ms
71,044 KB
testcase_05 AC 65 ms
71,048 KB
testcase_06 AC 61 ms
71,116 KB
testcase_07 AC 59 ms
71,300 KB
testcase_08 AC 62 ms
71,216 KB
testcase_09 AC 61 ms
71,136 KB
testcase_10 AC 61 ms
71,336 KB
testcase_11 AC 61 ms
70,896 KB
testcase_12 AC 61 ms
71,096 KB
testcase_13 AC 61 ms
71,100 KB
testcase_14 AC 63 ms
71,176 KB
testcase_15 AC 61 ms
71,124 KB
testcase_16 AC 61 ms
71,140 KB
testcase_17 AC 61 ms
71,040 KB
testcase_18 AC 61 ms
71,304 KB
testcase_19 AC 61 ms
71,300 KB
testcase_20 AC 61 ms
71,168 KB
testcase_21 AC 62 ms
71,036 KB
testcase_22 AC 61 ms
71,212 KB
testcase_23 AC 76 ms
71,072 KB
testcase_24 AC 75 ms
71,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 10 ** 9 + 7
A,B,C = map(int,input().split())
K = int(input())
ans = pow((A*B*C)%MOD,pow(2,K,MOD-1),MOD)
print(ans)
0