結果

問題 No.1952 xooooooooooor
ユーザー 👑 H20H20
提出日時 2022-03-25 00:57:10
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 119 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 76,416 KB
最終ジャッジ日時 2023-08-23 08:44:11
合計ジャッジ時間 5,397 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,516 KB
testcase_01 AC 70 ms
71,436 KB
testcase_02 AC 79 ms
75,688 KB
testcase_03 AC 69 ms
71,320 KB
testcase_04 AC 69 ms
71,500 KB
testcase_05 AC 71 ms
71,264 KB
testcase_06 AC 70 ms
71,456 KB
testcase_07 AC 69 ms
71,376 KB
testcase_08 AC 68 ms
71,480 KB
testcase_09 AC 73 ms
71,416 KB
testcase_10 AC 71 ms
71,520 KB
testcase_11 AC 75 ms
75,804 KB
testcase_12 AC 71 ms
71,420 KB
testcase_13 AC 71 ms
71,372 KB
testcase_14 AC 177 ms
76,416 KB
testcase_15 TLE -
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 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M = map(int, input().split())
mod = 998244353
ans = 0
for i in range(M):
    ans^=N*pow(2,i)
ans = ans%mod
print(ans)
0