zUJGOI 2024
Home
Problems
Contests
Courses
Posts
15
Rook
Sign in
Statement
Editorial
Editor
Input
Execution
Testing
Editorial
It can be seen that the answer is
n
+
m
−
2
.
Editor
Input
Execution
Testing
Loading...
Input
Execution
Testing
Loading...