Minesweeper String
2206F2400· grandmaster3s1024 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
5 320103
Output
7
Sample 2of 3
Input
5 120103
Output
11
Sample 3of 3
Input
8 460409003
Output
35
58%
2206F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
5 320103
7
5 120103
11
8 460409003
35