結果

問題 No.3255 01 Matrix Counting
ユーザー Kude
提出日時 2025-09-05 21:50:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 80 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 82,468 KB
実行使用メモリ 53,660 KB
最終ジャッジ日時 2025-09-05 21:50:55
合計ジャッジ時間 1,534 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

h, w = map(int, input().split())
print(pow(2, (h - 1) * (w - 1) + 2, 998244353))
0