|
|
@ -287,8 +287,87 @@ break;
|
|
|
|
|
|
|
|
|
|
|
|
给出若干测试用例,包括输入、预期结果、运行结果或是否通过测试。运行结果和预期结果一致,为通过测试。
|
|
|
|
给出若干测试用例,包括输入、预期结果、运行结果或是否通过测试。运行结果和预期结果一致,为通过测试。
|
|
|
|
测试 输入 10 8
|
|
|
|
测试 输入 10 8
|
|
|
|
100 10
|
|
|
|
```
|
|
|
|
150 15
|
|
|
|
+ + + + + + + + +
|
|
|
|
|
|
|
|
| | |
|
|
|
|
|
|
|
|
+ +---+---+---+ + +---+ +
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+---+ +---+ + + +---+---+
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ + + + +---+ +---+ +
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+---+---+ +---+---+---+---+ +
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+ +---+ + + + + +---+
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+---+ +---+---+ + +---+---+
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+ +---+---+ +---+---+ +---+
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+---+---+ + +---+ +---+ +
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+ + + + +---+ + + +
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
|
|
|
+ + + + +---+ + + +
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
10 10
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
+ + + + + + + + + + +
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ +---+ +---+ + + +---+---+ +
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ + +---+ +---+---+ +---+ +---+
|
|
|
|
|
|
|
|
| | | | | |
|
|
|
|
|
|
|
|
+---+ +---+ +---+ +---+ +---+ +
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ + + +---+---+ +---+---+---+ +
|
|
|
|
|
|
|
|
| | |
|
|
|
|
|
|
|
|
+---+ + +---+ +---+ +---+---+---+
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ + +---+---+ +---+ +---+---+---+
|
|
|
|
|
|
|
|
| | |
|
|
|
|
|
|
|
|
+ + +---+ + +---+---+ +---+ +
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ +---+ +---+ +---+---+ + + +
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ +---+ + + + + +---+---+ +
|
|
|
|
|
|
|
|
| | | | | | |
|
|
|
|
|
|
|
|
+ +---+ + + + + +---+---+ +
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
15 15
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
+ + + + + + + + + + + + + + + +
|
|
|
|
|
|
|
|
| | | | | | | |
|
|
|
|
|
|
|
|
+ + + + + + +---+ +---+ +---+ + +---+ +
|
|
|
|
|
|
|
|
| | | | | | | | |
|
|
|
|
|
|
|
|
+---+ + +---+ + +---+---+---+ + +---+ + + +
|
|
|
|
|
|
|
|
| | | | | |
|
|
|
|
|
|
|
|
+ +---+---+---+ +---+ +---+---+ + +---+---+ + +
|
|
|
|
|
|
|
|
| | | | | | |
|
|
|
|
|
|
|
|
+ + + + +---+ +---+ + + + + +---+ + +
|
|
|
|
|
|
|
|
| | | | | | | | | | | | |
|
|
|
|
|
|
|
|
+ +---+ +---+ +---+ + +---+ +---+---+ + +---+
|
|
|
|
|
|
|
|
| | | | | |
|
|
|
|
|
|
|
|
+---+ + +---+ +---+ + +---+---+ +---+ +---+---+
|
|
|
|
|
|
|
|
| | | | | | | |
|
|
|
|
|
|
|
|
+ +---+ +---+---+---+---+---+---+---+ +---+---+ + +
|
|
|
|
|
|
|
|
| | | | |
|
|
|
|
|
|
|
|
+ +---+ +---+---+---+---+ + + + + +---+ + +
|
|
|
|
|
|
|
|
| | | | | | | | | | | |
|
|
|
|
|
|
|
|
+---+ + + + + +---+ +---+ + + +---+---+ +
|
|
|
|
|
|
|
|
| | | | | |
|
|
|
|
|
|
|
|
+ +---+ + +---+ +---+ + +---+---+ +---+---+ +
|
|
|
|
|
|
|
|
| | | | | | | |
|
|
|
|
|
|
|
|
+ +---+ +---+---+---+---+---+---+---+---+---+ +---+ +
|
|
|
|
|
|
|
|
| | | | | | | | |
|
|
|
|
|
|
|
|
+ +---+ +---+ + +---+ + +---+ +---+ + + +
|
|
|
|
|
|
|
|
| | | | | | |
|
|
|
|
|
|
|
|
+ + + + + + +---+---+ +---+ + +---+ + +
|
|
|
|
|
|
|
|
| | | | | | | |
|
|
|
|
|
|
|
|
+ + +---+---+---+ +---+ +---+ + +---+ + +---+
|
|
|
|
|
|
|
|
| | | | | | | |
|
|
|
|
|
|
|
|
+ + +---+---+---+ +---+ +---+ + +---+ + +---+
|
|
|
|
|
|
|
|
```
|
|
|
|
均成功构成迷宫
|
|
|
|
均成功构成迷宫
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|