Game of AI (hard version)
1704H23500· legendary gm12s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
8 998244353
Output
022436068001531504057452123391016
58%
1704H2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
8 998244353
022436068001531504057452123391016