QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#430351#8554. Bot Friendsegypt_ioi2024_11WA 33ms7616kbC++232.1kb2024-06-03 18:28:542024-06-03 18:28:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 5668kb

input:

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

output:

2
2
3
4
5
8
7
8
5
6

result:

ok 10 numbers

Test #2:

score: -100
Wrong Answer
time: 33ms
memory: 7616kb

input:

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

output:

8
7
8
5
6
8
6
8
6
7
6
6
8
7
8
7
8
7
7
7
6
7
7
5
6
6
3
9
6
7
5
7
5
9
7
6
8
7
9
8
7
8
4
2
7
7
8
7
8
6
6
5
7
8
8
8
8
7
5
7
7
7
7
8
8
7
8
6
8
8
7
7
6
8
5
7
7
6
5
5
7
8
7
5
8
8
6
7
6
7
6
7
7
8
4
8
8
7
8
7
7
5
8
8
8
6
8
7
7
8
8
7
5
8
8
5
7
6
6
9
8
7
7
8
7
8
8
8
6
8
7
9
7
6
9
5
7
8
8
8
6
7
5
7
4
6
6
7
8
8
...

result:

wrong answer 8th numbers differ - expected: '7', found: '8'