cf/mirror

Crossword Expert

CF
1194F2400· grandmaster2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3 5
2 2 2
Output
750000007
Sample 2of 2
Input
3 5
2 1 2
Output
125000003
1194F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)