#932. C++-过河卒-过河卒

C++-过河卒-过河卒

Background

Description

C++-过河卒-过河卒 image image

Format

Input

Output

Samples

6 6 3 3
6

Limitation

1s, 1024KiB for each test case.