QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#396177#8554. Bot Friendsezteam1#WA 40ms5944kbC++141.8kb2024-04-22 14:31:572024-04-22 14:31:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5944kb

input:

10
?>?
>?<
??<?
?><?<
??????
>?<?<>?<?<
?><???><><
??>>><><??
<>>?>>?>?>
<?<>>??<?>

output:

2
2
3
4
5
8
7
8
5
6

result:

ok 10 numbers

Test #2:

score: -100
Wrong Answer
time: 40ms
memory: 5780kb

input:

100000
>?<?<>?<?<
?><???><><
??>>><><??
<>>?>>?>?>
<?<>>??<?>
>><>><<<<<
>?>?>?<<>>
?><?<<?<><
???><>?>?>
<??>?<<><?
??>><?<>>>
<><><?<>>?
?>>?>???><
?<?><?<<>?
>>><?<??><
><><<>?>?<
>?><>><<<?
>??>?><?<>
?????<><?>
<><<?<<>?<
><?>>?>?>?
?><><<<>>?
?<>?<>?<<<
<><<<<<>>>
?>?>?><<>>
<>?<>><>?<
<<<?<>>...

output:

8
7
8
5
6
8
6
7
6
7
6
6
8
7
8
7
8
7
7
6
6
7
7
0
6
6
0
9
0
6
5
7
5
8
7
6
8
7
8
0
6
7
0
0
7
6
8
7
8
6
6
5
7
8
8
8
8
7
5
6
7
7
6
8
8
6
8
6
7
8
7
7
6
8
0
7
0
6
5
0
7
7
6
4
8
0
0
7
5
7
6
7
7
8
0
8
8
7
8
7
7
0
8
8
7
0
8
7
7
8
8
7
5
7
8
5
7
0
5
8
8
7
7
8
0
7
8
6
6
8
7
8
7
6
0
0
7
8
6
8
0
7
5
7
0
6
6
7
7
7
...

result:

wrong answer 24th numbers differ - expected: '2', found: '0'