QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#382691#3742. 卖萌表情ucup-team1383WA 25ms5564kbC++171.3kb2024-04-08 17:50:572024-04-08 17:50:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 25ms
memory: 5564kb

input:

3 10
^>^<^^^^>^
<v^v^^v^v>
<>vvvvvvvv
10 1
v
^
<
<
v
<
v
>
<
<
5 4
<^^^
<vvv
<<^>
vv^v
<vvv
2 9
^^^^^^^^^
vvvvvvvvv
9 10
^>^^<^<^<>
<^<<><<<<>
v^v^^<>^<^
^<vvv<><<>
<v>>><^v^>
^^^^>^^<<v
v^v>v^v^<>
v^vvv>v^<^
vvvvv><>v>
8 8
^^^^<^<^
<>^<v>v^
<v<v>^v>
v>v<vv<>
^<^>>v<>
<v^v^<<>
^v^^>v<>
<vv<vv<>
2 2
...

output:

5
0
4
6
11
9
0
3
5
6
9
0
4
1
0
5
0
4
2
0
0
0
0
3
4
5
3
5
3
8
2
0
4
5
4
2
0
5
0
14
6
1
5
2
4
2
7
4
6
0
0
10
0
3
5
5
4
9
12
2
0
11
3
4
5
4
5
0
4
0
4
6
2
10
0
10
4
0
2
0
0
8
16
3
1
5
12
8
5
3
0
0
0
6
7
3
6
0
0
10
6
2
5
4
4
11
6
7
0
2
12
0
4
0
5
13
8
5
4
0
0
3
2
8
4
16
4
3
11
0
0
7
3
11
0
4
7
3
2
0
2
7
...

result:

wrong answer 5th numbers differ - expected: '13', found: '11'