QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#866045#9239. HieroglyphsMilmon16 39ms18704kbC++171.9kb2025-01-22 11:10:382025-01-22 11:10:38

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 3
Accepted
time: 1ms
memory: 12748kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
10 10
7 1 9 2 3 5 0 6 8 4
7 1 9 2 3 5 0 6 8 4

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
10
7 1 9 2 3 5 0 6 8 4

result:

ok 

Test #2:

score: 0
Wrong Answer
time: 1ms
memory: 12960kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
10 10
7 9 4 5 6 8 2 1 3 0
7 9 4 5 8 6 2 1 3 0

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
10
7 9 4 5 8 6 2 1 3 0

result:

wrong answer 3rd lines differ - on the 1st token, expected: '1', found: '10'

Subtask #2:

score: 0
Wrong Answer

Test #8:

score: 15
Accepted
time: 36ms
memory: 18588kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
89984 90016
167910 187180 47437 150113 199404 61979 49501 155514 167910 175137 104441 149717 155514 13573 170025 181983 117868 13573 149717 166954 145922 29787 93788 58581 158693 51768 120499 17700 17700 4746 119328 33450 138501 137246 33450 135751 84363 168724 15701...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
60000
187180 47437 150113 199404 61979 49501 167910 175137 104441 155514 170025 181983 117868 13573 149717 166954 145922 29787 93788 58581 158693 51768 120499 17700 4746 119328 138501 137246 33450 135751 84363 168724 157010 108760 44137 113102 139611 199377 86291 ...

result:

ok 

Test #9:

score: 15
Accepted
time: 39ms
memory: 18704kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
90003 90000
14155 14155 151711 151711 31573 66800 139383 1925 46366 116207 18428 18428 66618 83155 133084 9526 176340 87155 193385 52734 133084 1925 79878 137917 176340 32150 15872 66618 116207 194766 40942 31265 147928 124727 97615 58260 161323 8229 74777 146601 959...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
60001
14155 151711 31573 66800 139383 46366 18428 83155 9526 87155 193385 52734 133084 1925 79878 137917 176340 32150 15872 66618 116207 194766 40942 31265 147928 124727 97615 58260 161323 8229 74777 146601 37955 95987 118028 29763 15233 101780 54731 36231 65482 3...

result:

ok 

Test #10:

score: 0
Wrong Answer
time: 35ms
memory: 18704kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
89985 90021
192793 185974 48491 162906 75646 99166 183316 75646 52957 33987 83321 64287 83321 123979 130761 130761 154020 134587 154020 186921 178874 71496 184891 82981 123873 186777 127271 139973 67220 127271 140236 191126 67220 36003 36003 23064 43454 116351 168977...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
60002
192793 185974 48491 162906 99166 183316 75646 52957 33987 64287 83321 123979 130761 134587 154020 186921 178874 71496 184891 82981 123873 186777 139973 127271 140236 191126 67220 36003 23064 43454 116351 168977 63200 132243 153847 21074 108613 25083 115379 5...

result:

wrong answer 3rd lines differ - on the 1st token, expected: '1', found: '60002'

Subtask #3:

score: 0
Wrong Answer

Test #71:

score: 10
Accepted
time: 25ms
memory: 16668kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
0 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 0 0 1 1 1 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 1 1 0 0 0 1 1 0 0 1 0 0 1 1 0 0 0 0 0 1 1 1 0 1 0 0 0 1 0 1 0 1 1 1 1 0 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 1 1 1 0 1 0...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
85671
0 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 0 0 1 1 1 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 1 1 0 0 0 1 1 0 0 1 0 0 1 1 0 0 0 0 0 1 1 1 0 1 0 0 0 1 0 1 0 1 1 1 1 0 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 1 1 1 0 1 0 0 1 ...

result:

ok 

Test #72:

score: 10
Accepted
time: 16ms
memory: 16140kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
1 0 1 0 1 0 0 1 0 1 0 0 0 1 1 1 1 1 0 0 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 1 1 0 1 1 0 1 0 1 0 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 0 0 0 0 0 0 1 1 0 0 1 0 1 1 0 1 0 1 0 0 0 1 1 1 0 0 1 0 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 1 1 0 0 1 1 1 1 1 0 0 0...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
1
-1

result:

ok 

Test #73:

score: 10
Accepted
time: 15ms
memory: 15448kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
50000 100000
1 1 1 1 1 0 1 0 0 1 0 1 1 1 0 1 1 1 0 0 1 0 0 1 1 1 0 0 0 0 1 1 0 0 1 0 1 1 0 0 1 0 0 0 1 0 0 1 1 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 ...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
38576
1 1 1 1 1 0 1 0 0 1 0 1 1 1 0 1 1 1 0 0 1 0 0 1 1 1 0 0 0 0 1 1 0 0 1 0 1 1 0 0 1 0 0 0 1 0 0 1 1 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 1 ...

result:

ok 

Test #74:

score: 0
Wrong Answer
time: 13ms
memory: 15228kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
50000 100000
1 0 1 0 0 0 0 1 0 0 0 1 0 1 1 1 0 1 1 0 1 1 1 0 1 1 0 0 1 1 1 1 1 0 0 1 1 0 0 1 0 0 0 0 1 0 1 1 0 0 0 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 0 0 1 1 0 0 1 0 1 0 0 0 0 1 0 1 1 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 1 0 0 0 ...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
47755
1 0 1 0 0 0 0 1 0 0 0 1 0 1 1 1 0 1 1 0 1 1 1 0 1 1 0 0 1 1 1 1 1 0 0 1 1 0 0 1 0 0 0 0 1 0 1 1 0 0 0 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 0 0 1 1 0 0 1 0 1 0 0 0 0 1 0 1 1 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 1 0 0 0 1 0 ...

result:

wrong answer 3rd lines differ - on the 1st token, expected: '1', found: '47755'

Subtask #4:

score: 16
Accepted

Test #97:

score: 16
Accepted
time: 6ms
memory: 13968kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
20000 30000
110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
20000
110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955 110955...

result:

ok 

Test #98:

score: 16
Accepted
time: 20ms
memory: 16272kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
99999 88888
22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 224...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
88886
22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 22478 ...

result:

ok 

Test #99:

score: 16
Accepted
time: 23ms
memory: 16808kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
166304 166304 166304 166304 166304 166304 166304 166304 102708 11497 11497 11497 11497 11497 11497 11497 11497 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 125776 125776 125776 125776 125776 125776 125776 125...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
85709
166304 166304 166304 166304 166304 166304 166304 102708 11497 11497 11497 11497 11497 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 17510 125776 125776 125776 125776 125776 125776 125776 125776 125776 125776 125776 125776 125776 125776 12...

result:

ok 

Test #100:

score: 16
Accepted
time: 20ms
memory: 16480kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 1...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
95801
117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117 117117...

result:

ok 

Test #101:

score: 16
Accepted
time: 21ms
memory: 16568kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 1...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
98803
127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501 127501...

result:

ok 

Test #102:

score: 16
Accepted
time: 25ms
memory: 16608kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 1...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
99078
116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473 116473...

result:

ok 

Test #103:

score: 16
Accepted
time: 31ms
memory: 18200kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
90001 89999
171539 66534 9757 176662 84211 83487 129394 86197 172362 142984 93418 146577 96159 191701 83516 196081 37110 105351 165140 54539 124569 187177 24718 194979 119131 15727 40820 31718 13095 147840 76889 199389 75862 118045 115442 10325 157261 11275 83362 174...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
69029
66534 9757 176662 84211 83487 129394 142984 93418 146577 83516 196081 37110 105351 165140 124569 187177 24718 194979 119131 15727 40820 31718 13095 147840 199389 75862 118045 115442 10325 157261 11275 83362 174999 135965 170148 9468 78567 123417 96834 166908...

result:

ok 

Test #104:

score: 16
Accepted
time: 26ms
memory: 17160kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
88483 88489
171539 66534 9757 9757 176662 66534 176662 66534 84211 171539 83487 83487 129394 83487 83487 129394 129394 129394 86197 171539 142984 142984 93418 142984 146577 93418 96159 146577 171539 191701 191701 83516 83516 196081 83516 37110 83516 191701 171539 105...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
49991
66534 9757 9757 84211 171539 83487 129394 129394 86197 171539 142984 93418 93418 96159 171539 196081 37110 83516 171539 165140 105351 105351 171539 24718 24718 187177 24718 187177 171539 15727 40820 15727 31718 13095 171539 76889 147840 199389 171539 118045 ...

result:

ok 

Test #105:

score: 16
Accepted
time: 14ms
memory: 15536kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
25795 25795 25795 25795 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 143131 14313...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
40
25795 25795 25795 25795 143131 128849 128849 143131 143131 143131 128849 143131 128849 143131 143131 128849 143131 128849 128849 128849 128849 143131 128849 128849 143131 143131 128849 143131 143131 128849 25795 143131 128849 143131 128849 143131 25795 143131 2...

result:

ok 

Test #106:

score: 16
Accepted
time: 13ms
memory: 15328kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
131962 163588 163588 130741 139327 130741 130741 130741 130741 130741 130741 130741 130741 130741 130741 139327 130741 130741 130741 130741 139327 163588 163588 163588 139327 139327 130741 139327 139327 139327 139327 130741 130741 130741 139327 130741 1...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
24
131962 163588 163588 130741 130741 130741 139327 130741 139327 163588 163588 163588 139327 130741 130741 163588 163588 130741 130741 163588 163588 130741 163588 163588

result:

ok 

Test #107:

score: 16
Accepted
time: 12ms
memory: 15548kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
57218 127363 57218 159037 127363 159037 48613 48613 121706 48613 121706 121706 48613 121706 48613 48613 121706 121706 121706 121706 48613 121706 48613 48613 121706 121706 48613 48613 48613 121706 121706 48613 48613 48613 121706 48613 121706 48613 48613 ...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
24
57218 127363 57218 159037 127363 159037 48613 57218 159037 57218 57218 127363 127363 159037 159037 57218 57218 57218 57218 48613 121706 121706 57218 121706

result:

ok 

Test #108:

score: 16
Accepted
time: 13ms
memory: 15712kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 100000
58828 58828 141287 58828 42978 42978 58828 42978 58828 141287 42978 58828 141287 42978 141287 141287 141287 58828 141287 42978 141287 42978 58828 141287 141287 58828 42978 3496 3496 58828 58828 42978 42978 141287 58828 42978 42978 58828 58828 141287 588...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
24
42978 42978 58828 42978 58828 58828 42978 58828 58828 141287 42978 3496 3496 141287 58828 42978 42978 58828 58828 141287 58828 42978 42978 3496

result:

ok 

Test #109:

score: 16
Accepted
time: 1ms
memory: 12872kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
3000 3000
171781 196644 56899 56899 196644 196644 171781 196644 56899 196644 196644 171781 196644 171781 56899 171781 56899 56899 56899 56899 171781 56899 56899 56899 171781 196644 196644 196644 196644 196644 196644 196644 196644 196644 196644 196644 196644 196644 19...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
50
171781 196644 56899 56899 196644 196644 171781 196644 56899 196644 196644 171781 196644 171781 56899 171781 56899 56899 56899 56899 171781 56899 56899 56899 171781 196644 171781 171781 171781 56899 56899 171781 56899 171781 56899 171781 56899 56899 56899 171781...

result:

ok 

Test #110:

score: 16
Accepted
time: 1ms
memory: 12836kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
3000 3000
198418 107700 107700 94006 94006 198418 94006 107700 94006 107700 198418 198418 198418 94006 94006 107700 107700 94006 107700 94006 198418 198418 94006 107700 94006 94006 94006 107700 107700 94006 107700 94006 94006 94006 107700 94006 107700 107700 94006 94...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
30
198418 107700 107700 94006 94006 198418 94006 107700 94006 107700 198418 198418 198418 94006 107700 94006 94006 198418 198418 94006 107700 94006 94006 94006 94006 198418 198418 165264 94006 107700

result:

ok 

Test #111:

score: 16
Accepted
time: 0ms
memory: 12920kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
3000 3000
32620 177199 20797 151285 20797 151285 151285 151285 20797 40009 20797 20797 40009 40009 20797 20797 20797 20797 20797 20797 20797 40009 40009 40009 40009 40009 20797 40009 40009 40009 20797 20797 40009 20797 40009 40009 20797 20797 40009 20797 20797 20797 ...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
30
32620 177199 20797 151285 20797 151285 151285 151285 20797 40009 20797 20797 40009 20797 20797 32620 151285 151285 151285 151285 32620 177199 32620 177199 151285 177199 177199 151285 151285 177199

result:

ok 

Test #112:

score: 16
Accepted
time: 3ms
memory: 12868kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
3000 3000
113512 26708 26708 113512 113512 26708 26708 26708 26708 26708 135675 135675 188843 188843 38854 38854 70863 38854 70863 70863 70863 70863 38854 70863 70863 188843 70863 188843 38854 70863 188843 188843 38854 70863 38854 38854 38854 38854 188843 188843 7086...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
30
113512 26708 26708 113512 113512 26708 26708 26708 26708 26708 135675 135675 70863 188843 26708 26708 113512 26708 26708 135675 135675 26708 26708 135675 26708 26708 135675 113512 70863 70863

result:

ok 

Test #113:

score: 16
Accepted
time: 24ms
memory: 17160kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
79954 80046
193839 42571 143135 58797 127114 152014 121576 103593 44671 49674 120539 118872 112568 191382 76408 127114 191722 22015 169752 15042 95620 159279 185815 61483 21390 127114 54750 54750 149559 126288 54750 194529 39399 30493 195178 95703 155965 146569 11623...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
40000
103593 191382 127114 54750 155965 82670 146569 42571 120539 24162 77964 195178 89002 76408 196879 9396 154489 183912 152014 116718 43540 121576 27217 85811 166052 10992 182839 90373 109905 30718 122589 171998 63151 93958 173218 142855 94976 84158 165942 9615...

result:

ok 

Test #114:

score: 16
Accepted
time: 30ms
memory: 17156kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
79692 80308
184417 139038 102077 93874 141204 101441 57932 56930 101441 139722 167693 141204 101441 141204 55067 139038 55067 55067 179373 55074 93874 139038 93874 62399 88433 168105 14512 111153 463 184417 136760 184417 111433 136760 67500 9399 136760 176321 167693 ...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
40000
102077 101441 141204 139038 55067 93874 168105 184417 136760 167693 114206 176780 3276 191302 193452 140022 138095 40789 14512 24293 173639 109359 14883 67154 83691 641 2633 2685 84742 21821 154045 463 93736 152689 139722 161767 88433 119867 195376 12331 149...

result:

ok 

Test #115:

score: 16
Accepted
time: 29ms
memory: 17092kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
80144 79856
146013 94851 129493 66187 45006 107425 66187 22491 172841 117814 22491 90777 22491 37122 42915 45399 130433 66187 130433 160403 165473 130433 160403 74513 81623 27611 80567 165473 165473 139146 121857 160403 56775 56775 79680 175333 132330 98429 54539 319...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
40000
129493 66187 22491 42915 130433 160403 74513 165473 121857 56775 175333 98429 117814 33614 29662 74843 34044 34367 119627 143308 178085 19092 8425 151715 49307 22288 25352 10582 144322 165452 151314 155918 16415 108989 133916 26974 81941 194760 148815 163466...

result:

ok 

Test #116:

score: 16
Accepted
time: 25ms
memory: 17020kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
87902 87098
150752 97721 108683 139433 127372 108683 94911 190291 78595 34654 106948 108683 108683 183204 692 66444 173851 66911 73467 692 692 115243 93379 132762 692 190890 151131 66911 190890 190890 190890 2215 185526 169850 66444 141576 66444 157204 5821 179382 66...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
35000
190291 108683 73467 692 190890 66444 88269 127774 147807 148822 102693 55422 31745 192945 7341 6266 113395 46997 33369 115608 142434 11560 68677 14004 182014 104851 174812 65652 118581 22973 185526 64694 43514 105547 139433 161367 157204 17091 188266 187205 ...

result:

ok 

Test #117:

score: 16
Accepted
time: 26ms
memory: 16896kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
87566 87434
185318 77595 139695 56859 147798 147798 132223 95638 125215 96795 1024 66946 18446 92987 89469 147798 112446 147798 86073 4576 36873 57932 4576 4576 4576 67383 1024 57932 127685 40041 129036 129036 101031 129036 135345 101361 9694 21483 150591 119401 1194...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
35000
139695 147798 92987 112446 4576 127685 129036 21483 119401 150591 57932 1024 67383 18742 18026 101031 75651 95278 78215 14487 35078 52118 66334 152528 135345 101361 96795 108627 99424 28991 153675 146773 69807 86438 194466 48055 130374 167494 81503 95006 115...

result:

ok 

Test #118:

score: 16
Accepted
time: 27ms
memory: 17020kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
87911 87089
97159 64184 72271 150120 93476 113402 185541 134885 127186 72313 131327 127186 127186 131327 127186 131327 175640 18000 131327 34039 172401 54065 183967 183967 183967 78438 78438 79740 177022 177022 71524 78438 78438 54065 54065 156682 183967 54065 188233...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
35000
64184 72271 93476 185541 72313 127186 131327 172401 183967 78438 54065 188233 50633 190420 198418 195139 177022 5140 120342 82427 91141 30754 156682 50348 142740 199189 139969 89093 195678 25439 57159 127678 151083 34521 189343 3959 1597 36543 74886 146105 7...

result:

ok 

Test #119:

score: 16
Accepted
time: 28ms
memory: 16928kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
90464 89536
96211 136384 31978 103884 34204 133198 110171 103884 103884 103884 103884 142782 96814 147152 173813 38603 144217 142782 61894 89274 7601 137377 167008 7792 32526 43551 86069 142782 91662 142782 144217 94940 142782 32465 54206 54206 13299 54206 143332 342...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
30000
96211 103884 89274 7792 86069 142782 54206 4493 65888 164888 12077 110563 128230 38603 8500 199725 121203 97998 139281 165617 117005 199954 78017 2179 89507 66244 136384 117734 81418 160644 86864 147468 110171 189335 56794 31978 175772 9945 146650 174964 129...

result:

ok 

Test #120:

score: 16
Accepted
time: 24ms
memory: 16924kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
89916 90084
73582 159532 73582 31080 189757 147994 31080 176510 176510 3319 66018 176510 104078 12479 31080 176510 176510 80990 73582 168732 30713 190944 10318 73582 74741 108050 73582 23934 64555 75901 44577 136087 160561 44577 185171 91462 87032 31080 131899 29030 ...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
30000
31080 176510 168732 73582 64555 91462 30527 168769 44577 199984 154874 142469 52622 142808 75602 24749 126407 154191 36504 26738 38929 79528 48540 63550 125282 25761 131899 26981 166716 56164 87466 55596 81084 25356 384 44699 68440 61817 125463 44650 118311 ...

result:

ok 

Test #121:

score: 16
Accepted
time: 25ms
memory: 16916kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
89828 90172
33450 65276 132387 132387 132387 106064 132387 170671 65276 84567 132387 106064 50765 192185 161965 41290 50765 161965 104047 77772 65861 195095 181427 50765 104047 161965 180186 41290 104047 77772 77772 33450 50765 77772 77772 104047 41290 50765 181968 1...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
30000
132387 192185 104047 77772 50765 161965 65276 181968 41290 195095 135626 136457 178970 114763 33450 154110 1976 195279 65317 65861 16656 130094 125926 12862 40714 172790 34370 77933 84021 106064 51093 23500 135711 107638 1141 96253 193894 173626 54069 122078...

result:

ok 

Test #122:

score: 16
Accepted
time: 7ms
memory: 14252kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 341
89810 164928 71164 115951 70840 58768 148125 190365 120390 115951 89810 124330 114424 193694 148836 148125 164928 23274 103601 135457 135457 148125 164928 71164 26231 89810 164928 71164 115951 70840 58768 148125 190365 120390 115951 89810 124330 114424 193...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
315
71164 26231 89810 164928 71164 115951 70840 58768 148125 190365 120390 115951 89810 124330 114424 193694 148836 148125 164928 23274 103601 135457 135457 148125 164928 38545 35326 71164 115951 70840 58768 148125 190365 120390 115951 89810 124330 114424 193694 1...

result:

ok 

Test #123:

score: 16
Accepted
time: 24ms
memory: 16804kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
96980 100000
54972 48765 98604 7901 183263 75709 96565 170833 28887 89373 159757 89182 145742 4860 114599 155396 138352 193471 111168 48765 55459 181999 108161 149921 74193 193113 78578 71248 113569 98541 74888 82356 128623 89524 95903 123818 68344 183263 98604 15539...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
96602
54972 48765 98604 7901 183263 75709 96565 170833 28887 89373 159757 89182 145742 4860 114599 155396 138352 193471 111168 48765 55459 181999 108161 149921 74193 193113 78578 71248 113569 98541 74888 82356 128623 89524 95903 123818 68344 183263 98604 155396 93...

result:

ok 

Test #124:

score: 16
Accepted
time: 22ms
memory: 16572kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
100000 83647
101651 116559 24710 134077 101923 185459 3904 112960 52975 60555 33429 117817 27691 86017 187452 34475 131041 10640 127463 115246 65001 169808 119112 91872 134930 85336 105193 124252 153146 6364 58449 27224 98598 60823 16273 27691 5323 163699 25554 11731...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
83184
181114 71298 102186 101651 116559 24710 134077 101923 185459 3904 112960 52975 60555 33429 117817 27691 86017 187452 34475 131041 10640 127463 115246 65001 169808 119112 91872 134930 85336 105193 124252 153146 6364 58449 27224 98598 60823 16273 27691 5323 16...

result:

ok 

Test #125:

score: 16
Accepted
time: 24ms
memory: 16828kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
99851 100000
42238 62081 84960 18236 174201 12623 148768 11563 126738 179755 62749 38395 174931 189180 82425 84143 185731 103010 136190 156069 114110 131142 129667 31679 31773 22457 12725 96469 79781 192896 151014 179758 193178 18113 84143 56068 143798 55209 56821 15...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
98670
122081 76356 66752 186522 155760 62081 115486 173980 16120 36014 42238 62081 84960 18236 174201 12623 148768 11563 126738 179755 62749 38395 174931 189180 82425 84143 185731 103010 136190 156069 114110 131142 129667 31679 31773 22457 12725 96469 79781 192896...

result:

ok 

Test #126:

score: 16
Accepted
time: 25ms
memory: 16900kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
92173 100000
22914 84312 162365 39548 151543 67334 120655 92453 131709 5855 189445 153366 3107 151543 7511 126675 123347 141497 198684 105458 181709 26286 17535 165898 132129 52878 85604 127487 183190 85032 124236 33762 179905 182591 64527 105564 70277 58463 167245 1...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
88691
188078 71618 136541 10200 109763 58149 177116 91819 30588 5037 15499 81599 114863 60863 196216 186954 58463 50239 194900 6587 165665 118465 107728 15492 22119 98069 8674 198483 67213 167007 11770 7938 40335 13116 58974 143709 172631 54893 97062 63961 135470 ...

result:

ok 

Test #127:

score: 16
Accepted
time: 30ms
memory: 17096kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
85883 100000
23669 177064 78856 189594 56258 183497 30018 78801 121419 162357 20809 147423 84221 96237 186740 169563 177983 88479 65929 16520 73691 26112 14684 18807 158512 89952 136495 23156 67361 47297 185141 94218 95449 194729 145347 121420 163478 168849 135746 10...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
75475
172935 28147 53164 175866 140982 184525 38303 65245 72953 58935 197848 50217 107992 104981 63313 105962 83233 58287 19482 150099 66718 182540 6666 32019 52766 93128 188584 13623 33891 142118 163383 167238 125737 170925 144126 162095 101443 9073 32518 107986 ...

result:

ok 

Test #128:

score: 16
Accepted
time: 3ms
memory: 12984kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
3000 341
174075 25403 69099 104345 127693 65942 153241 72390 182624 104345 174075 173422 186673 67673 37811 153241 25403 122384 29017 69510 69510 153241 25403 69099 39060 174075 25403 69099 104345 127693 65942 153241 72390 182624 104345 174075 173422 186673 67673 378...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
315
69099 39060 174075 25403 69099 104345 127693 65942 153241 72390 182624 104345 174075 173422 186673 67673 37811 153241 25403 122384 29017 69510 69510 153241 25403 156868 71772 69099 104345 127693 65942 153241 72390 182624 104345 174075 173422 186673 67673 37811...

result:

ok 

Test #129:

score: 16
Accepted
time: 3ms
memory: 13128kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
3000 2705
11519 155866 16264 160215 179631 26746 16264 26746 173866 88443 49726 11519 185695 73060 184729 26746 148338 116604 158814 140952 115247 140686 116604 144394 155866 5610 144394 177542 59189 127398 13760 121209 186078 58660 40829 6784 58972 130225 158814 131...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
2654
11519 155866 16264 160215 179631 26746 16264 26746 173866 88443 49726 11519 185695 73060 184729 26746 148338 116604 158814 140952 115247 140686 116604 144394 155866 5610 144394 177542 59189 127398 13760 121209 186078 58660 40829 6784 58972 130225 158814 13168...

result:

ok 

Test #130:

score: 16
Accepted
time: 4ms
memory: 13128kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
2721 3000
97629 91122 109136 16590 56123 141788 98270 20835 82655 148461 111609 80147 124546 180534 198131 157076 71457 82655 60035 171732 136477 84568 138220 195549 186714 34601 93697 140316 71683 12957 175692 80147 131700 180534 128480 132932 84568 82655 186714 118...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
2570
58319 195549 149695 76269 168750 135601 34601 141544 58909 97629 91122 109136 16590 56123 141788 98270 20835 82655 148461 111609 80147 124546 180534 198131 157076 71457 82655 60035 171732 136477 84568 138220 195549 186714 34601 93697 140316 71683 12957 175692...

result:

ok 

Test #131:

score: 16
Accepted
time: 1ms
memory: 13124kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
2132 3000
110098 143568 74549 3599 143568 51014 165139 105052 162732 175221 169364 111312 38443 103332 165827 141202 88385 198645 130345 141202 198531 35508 76293 168370 30975 162319 30526 101414 134826 88059 57942 46879 140071 189125 90004 37273 198531 68718 134741 ...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
1737
199110 35988 16932 59173 113202 127471 101731 13033 34582 26994 31750 136332 40286 72862 45140 104315 13522 107175 7588 173946 134826 196602 75119 152579 78603 134435 84282 180666 150143 110098 143568 74549 3599 143568 51014 165139 105052 162732 175221 169364...

result:

ok 

Subtask #5:

score: 0
Wrong Answer

Test #132:

score: 14
Accepted
time: 1ms
memory: 13000kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
2800 2999
47 51 42 122 38 125 170 11 119 48 289 297 27 150 207 271 11 15 67 287 149 220 76 274 128 151 60 117 39 123 254 75 170 198 72 179 274 203 13 88 139 153 46 288 13 282 16 219 284 91 274 63 190 157 72 286 238 1 219 82 82 31 285 128 198 172 161 271 36 111 160 26...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
2800
47 51 42 122 38 125 170 11 119 48 289 297 27 150 207 271 11 15 67 287 149 220 76 274 128 151 60 117 39 123 254 75 170 198 72 179 274 203 13 88 139 153 46 288 13 282 16 219 284 91 274 63 190 157 72 286 238 1 219 82 82 31 285 128 198 172 161 271 36 111 160 268 ...

result:

ok 

Test #133:

score: 14
Accepted
time: 3ms
memory: 13004kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
2999 2999
161 462 13 332 346 475 194 20 36 323 39 256 432 278 259 480 97 464 354 69 375 262 103 321 65 264 31 471 439 314 169 353 165 346 444 148 337 326 359 397 396 489 391 74 168 209 496 183 481 9 485 46 174 410 158 363 179 56 118 294 350 290 154 74 95 202 490 62 3...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
2700
161 462 13 332 346 475 194 20 36 323 39 256 432 278 259 480 97 464 354 69 375 262 103 321 65 264 31 471 439 314 169 353 165 346 444 148 337 326 359 397 396 489 391 74 168 209 496 183 481 9 485 46 174 410 158 363 179 56 118 294 350 290 154 74 95 202 490 62 397...

result:

ok 

Test #134:

score: 14
Accepted
time: 0ms
memory: 13128kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
2999 2999
843 300 400 262 3 359 867 592 609 694 416 694 749 14 997 584 22 452 74 61 908 659 456 301 694 412 793 433 213 885 304 161 506 502 462 654 694 875 983 177 743 313 380 316 473 748 254 659 997 132 100 335 437 825 192 182 213 575 740 442 622 833 694 914 332 341...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
2500
843 300 400 262 3 359 867 592 609 416 749 14 997 584 22 452 74 61 908 659 456 301 412 793 433 213 885 304 161 506 502 462 654 875 983 177 743 313 380 316 473 748 254 659 997 132 100 335 437 825 192 182 213 575 740 442 622 833 914 332 341 153 931 749 819 985 8...

result:

ok 

Test #135:

score: 14
Accepted
time: 1ms
memory: 12996kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
2999 2999
863 1603 1420 106 1789 1690 1900 525 13 1749 747 263 87 0 1117 24 1318 1166 1233 749 337 1130 1780 1156 1918 1245 526 204 507 1440 728 1038 685 83 723 1929 1011 386 1132 1358 1022 1611 861 388 1168 1302 197 1958 1110 1573 1129 1808 357 1656 323 1670 799 983...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
2300
863 1603 1420 106 1789 1690 13 1749 747 0 1117 24 1318 1166 749 337 1130 1780 1156 1918 1245 526 204 507 728 1038 685 83 723 1929 1011 386 1132 1358 1022 1611 388 1168 1302 197 1110 1573 1129 1808 357 1656 323 1670 641 1673 633 188 1557 1747 322 807 544 1118 ...

result:

ok 

Test #136:

score: 0
Wrong Answer
time: 2ms
memory: 13048kb

input:

vHwzrZUx9chlYIJ7zODvOcQbZwj3OxhB
2801 2999
242 250 180 109 252 104 276 77 206 10 83 106 187 18 185 122 29 94 87 53 142 172 135 197 70 55 243 242 289 268 125 66 293 276 133 121 299 113 279 71 195 221 23 139 85 246 287 128 198 184 145 140 268 129 210 148 7 222 186 14 282 184 121 42 146 222 239 184 217...

output:

IyRwUZ9rsuq5tjuK54lpSvORqGQyBWEZ
OK
2800
242 250 180 109 252 104 276 77 206 10 83 106 187 18 185 122 29 94 87 53 142 172 135 197 70 55 243 242 289 268 125 66 293 276 133 121 299 113 279 71 195 221 23 139 85 246 287 128 198 184 145 140 268 129 210 148 7 222 186 14 282 184 121 42 146 222 239 184 217 5...

result:

wrong answer 3rd lines differ - on the 1st token, expected: '1', found: '2800'

Subtask #6:

score: 0
Skipped

Dependency #1:

0%