Protect Sheep
948A900· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
6 6..S.....S.W..S......W......W........
Output
Yes..SD....SDW..SD....DW...DD.W........
Sample 2of 3
Input
1 2SW
Output
No
Sample 3of 3
Input
5 5.S......S.S.......S..S...
Output
Yes.S......S.S.D.....S..S...
58%
948A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…