Crossword Expert
1194F2400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 52 2 2
Output
750000007
Sample 2of 2
Input
3 52 1 2
Output
125000003
58%
1194F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3 52 2 2
750000007
3 52 1 2
125000003