시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
2 초 | 1024 MB | 25 | 18 | 10 | 62.500% |
You are given integers $N,M,K,R,C,$ and $V$. Find the number of $N$ by $M$ integer matrices $a = (a_{i,j})$ that satisfy all of the following conditions, modulo $998244353$.
The first line contains integers $N$, $M$ ($1 \leq N,M \leq 200$), $K$ ($1 \leq K \leq 100$), $R$ ($1 \leq R \leq N$), $C$ ($1 \leq C \leq M$), and $V$ ($1 \leq V \leq K$).
Print the answer.
2 2 2 1 1 1
5
2 2 2 1 2 1
3
4 5 6 2 3 4
3700125
200 100 100 70 60 30
546626227