Toggle navigation
HUSTOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem3255--【Div4】模拟-避免车的攻击
3255: 【Div4】模拟-避免车的攻击
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MB
Submit
Solved: 6
Submit Num: 6
Statistics
Description
给定棋盘的状态,请确定最多有多少个格子上可以摆放棋子,使之不会被棋盘上的车捕获?
Sample Input
Copy
...#.... #....... .......# ....#... .#...... ........ ........ ..#.....
Sample Output
Copy
4
HINT
样例解释:
Source/Category
atcoder
二维数组
模拟