結果

問題 No.1800 Random XOR
ユーザー NoneNone
提出日時 2022-01-26 05:47:24
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 92 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 86,816 KB
実行使用メモリ 71,252 KB
最終ジャッジ日時 2023-08-23 06:59:42
合計ジャッジ時間 2,623 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,052 KB
testcase_01 AC 69 ms
71,116 KB
testcase_02 AC 69 ms
71,016 KB
testcase_03 AC 68 ms
71,060 KB
testcase_04 AC 71 ms
71,120 KB
testcase_05 AC 67 ms
71,176 KB
testcase_06 AC 69 ms
71,112 KB
testcase_07 AC 68 ms
71,080 KB
testcase_08 AC 67 ms
71,028 KB
testcase_09 AC 68 ms
71,048 KB
testcase_10 AC 68 ms
71,252 KB
testcase_11 AC 65 ms
71,024 KB
testcase_12 AC 67 ms
71,188 KB
testcase_13 AC 67 ms
71,040 KB
testcase_14 AC 66 ms
71,248 KB
testcase_15 AC 68 ms
71,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD=10**9+7
N,M=map(int, input().split())
res=0
print(pow(2,MOD-2,MOD)*(pow(2,M,MOD)-1)%MOD)
0