Problem F. Matrix
时间限制 1000 ms
内存限制 324.96875 MB
Samwell Tarly is learning to draw a magical matrix to protect himself from the White Walkers.
the magical matrix is a matrix with n rows and m columns, and every single block should be painted either black or white.
Sam wants to know how many ways to paint the matrix, satisfied that the final matrix has at least A rows, B columns was painted completely black. Cause the answer might be too big, you only need to output it modulo 998244353.
输入数据
输出数据
For each test case, output a line containing the answer modulo 998244353.
样例输入
样例输出
$ Mathjax font initiator $