結果
問題 | No.403 2^2^2 |
ユーザー | 👑 jupiro |
提出日時 | 2020-04-15 20:15:22 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 149 bytes |
コンパイル時間 | 171 ms |
コンパイル使用メモリ | 82,276 KB |
実行使用メモリ | 203,044 KB |
最終ジャッジ日時 | 2024-04-09 18:58:28 |
合計ジャッジ時間 | 4,589 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 35 ms
58,936 KB |
testcase_01 | AC | 34 ms
53,132 KB |
testcase_02 | AC | 33 ms
52,212 KB |
testcase_03 | AC | 34 ms
52,816 KB |
testcase_04 | AC | 33 ms
52,084 KB |
testcase_05 | AC | 31 ms
51,856 KB |
testcase_06 | AC | 30 ms
52,500 KB |
testcase_07 | AC | 32 ms
51,872 KB |
testcase_08 | AC | 31 ms
52,220 KB |
testcase_09 | AC | 32 ms
52,556 KB |
testcase_10 | AC | 33 ms
52,680 KB |
testcase_11 | AC | 35 ms
53,036 KB |
testcase_12 | AC | 39 ms
54,344 KB |
testcase_13 | AC | 33 ms
52,940 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 | -- | - |
ソースコード
a,b,c = map(int,input().split('^')) mod = 1000000007 res1 = pow(pow(a,b,mod),c,mod) res2 = pow(a,pow(b,c),mod) print(str(res1) + " "+str(res2))