U E D R , A S I H C RSS

Random Walk2/Test Case2



test.exe 는 .
~cpp 
c:\RandomWalk2Test> alltest.bat test.exe

~cpp C:\RandomWalk2Test> fc output1.txt e-output1.txt .

Test1

1. 며,
input1.txt
~cpp 
5 5
0 0
22244422
output1.txt
~cpp 
8

1 1 1 1 0
0 0 0 1 0
0 0 0 1 0
1 0 0 1 1
0 0 0 0 0

Test2

2. 며, 방문
input2.txt
~cpp 
5 5
0 0
22224666642222466664222246666
output2.txt
~cpp 
24

1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1

Test3

3. 며, 벽 른 벽
input3.txt
~cpp 
5 5
0 0
222224444433333222255555
output3.txt
~cpp 
24

4 2 2 2 3
1 1 0 1 0
1 0 2 0 0
1 1 0 1 0
2 0 0 0 1

Test4

4. 르며,
input4.txt
~cpp 
5 4
0 0
2224446661
output4.txt
~cpp 
10

1 1 1 1
0 0 0 1
0 1 0 1
1 1 1 1
0 0 0 0

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:27:50
Processing time 0.0126 sec