A King With No Name
Time: 6 s
Memory: 250 MB
Memory: 250 MB
Examples
| Input | Output |
|---|---|
|
4
.K.. .... ..Q. .... |
3
|
| Input | Output |
|---|---|
|
4
.K#. #... ..Q. .... |
-1
|
Problem Info
| Problem ID | 745 |
| Time Limit | 6000 ms |
| Memory Limit | 256000 KB |
| Moderators | RakibJoy , Sajjadsadi |
Statistics
Submit
You need to Login or Registration for submit your solution