結果

問題 No.1206 OR, OR, OR......
ユーザー KeroruKeroru
提出日時 2020-08-30 17:37:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 110 bytes
コンパイル時間 1,122 ms
コンパイル使用メモリ 86,892 KB
実行使用メモリ 71,540 KB
最終ジャッジ日時 2023-08-09 17:29:30
合計ジャッジ時間 1,881 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,260 KB
testcase_01 AC 78 ms
71,540 KB
testcase_02 AC 77 ms
71,288 KB
testcase_03 AC 77 ms
71,512 KB
testcase_04 AC 74 ms
71,472 KB
testcase_05 AC 75 ms
71,172 KB
testcase_06 AC 77 ms
71,320 KB
testcase_07 AC 75 ms
71,324 KB
testcase_08 AC 74 ms
71,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M=998244353
for i in range(int(input())):n,k=map(int,input().split());print(n*(pow(2,n*k,M)-pow(2,~-n*k,M))%M)
0