QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#304976#2674. Vision programquasar#47 6ms4516kbC++173.0kb2024-01-14 11:50:062024-07-04 03:18:16

详细

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 4096kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 3 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 3 0 1 2
1 1 3
2 1 4
3 5
2 1 4
3 7
2 1 4
3 9
2 1 4
3 11
2 1 4
3 13
2 1 4
3 15
2 1 4
3 17
2 1 4
3 19
1 1 3
2 1 21
3 22
2 1 21
3 24
2 1 21
3 26
2 1 21
3 28
2 1 21
3 30
2 1 21
3 32
2 1 21
3 34
2 1 21
3 36
3 6
3 8
3 10
3 12
3 14
3 16
3 18
3 20
2 2 23 38
0 2 2...

result:

ok 

Test #2:

score: 0
Accepted
time: 0ms
memory: 3836kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 3 2
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 3 0 1 2
1 1 3
2 1 4
3 5
2 1 4
3 7
2 1 4
3 9
2 1 4
3 11
2 1 4
3 13
2 1 4
3 15
2 1 4
3 17
2 1 4
3 19
1 1 3
2 1 21
3 22
2 1 21
3 24
2 1 21
3 26
2 1 21
3 28
2 1 21
3 30
2 1 21
3 32
2 1 21
3 34
2 1 21
3 36
3 6
3 8
3 10
3 12
3 14
3 16
3 18
3 20
2 2 23 38
0 2 2...

result:

ok 

Test #3:

score: 0
Accepted
time: 0ms
memory: 3888kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 1 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 1 0
1 1 1
1 1 2
1 1 3
2 2 4 6
2 2 5 7
3 6
0 2 7 9
3 7
0 2 8 11
2 2 6 12
3 13
2 1 10
0 2 15 14
2 2 6 10
3 17
2 1 12
0 2 19 18
2 3 6 10 12
3 21
2 3 6 10 12
3 23
2 3 6 10 12
3 25
2 3 6 10 12
3 27
2 3 6 10 12
3 29
2 3 6 10 12
3 31
1 1 5
2 2 4 33
2 2 3 34
3 3...

result:

ok 

Test #4:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 1 2
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 1 0
1 1 1
1 1 2
1 1 3
2 2 4 6
2 2 5 7
3 6
0 2 7 9
3 7
0 2 8 11
2 2 6 12
3 13
2 1 10
0 2 15 14
2 2 6 10
3 17
2 1 12
0 2 19 18
2 3 6 10 12
3 21
2 3 6 10 12
3 23
2 3 6 10 12
3 25
2 3 6 10 12
3 27
2 3 6 10 12
3 29
2 3 6 10 12
3 31
1 1 5
2 2 4 33
2 2 3 34
3 3...

result:

ok 

Test #5:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 2 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 2 0 1
1 2 2 3
1 1 4
2 2 5 6
3 6
0 2 7 8
2 1 6
3 10
2 1 9
0 2 12 11
2 2 6 9
3 14
2 2 6 9
3 16
2 2 6 9
3 18
2 2 6 9
3 20
2 2 6 9
3 22
2 2 6 9
3 24
2 2 6 9
3 26
1 1 5
2 2 4 28
3 28
0 2 29 30
2 1 31
3 32
2 1 28
0 2 34 33
2 2 31 28
3 36
2 2 31 28
3 38
2 2 31 ...

result:

ok 

Test #6:

score: 0
Accepted
time: 0ms
memory: 4140kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 2 2
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 2 0 1
1 2 2 3
1 1 4
2 2 5 6
3 6
0 2 7 8
2 1 6
3 10
2 1 9
0 2 12 11
2 2 6 9
3 14
2 2 6 9
3 16
2 2 6 9
3 18
2 2 6 9
3 20
2 2 6 9
3 22
2 2 6 9
3 24
2 2 6 9
3 26
1 1 5
2 2 4 28
3 28
0 2 29 30
2 1 31
3 32
2 1 28
0 2 34 33
2 2 31 28
3 36
2 2 31 28
3 38
2 2 31 ...

result:

ok 

Test #7:

score: 0
Accepted
time: 0ms
memory: 3776kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 3 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
269
1 3 0 1 2
1 3 3 4 5
1 1 6
2 2 7 8
3 8
0 2 9 10
2 1 8
3 12
2 1 11
0 2 14 13
2 2 8 11
3 16
2 2 8 11
3 18
2 2 8 11
3 20
2 2 8 11
3 22
2 2 8 11
3 24
2 2 8 11
3 26
2 2 8 11
3 28
1 1 7
2 2 6 30
3 30
0 2 31 32
2 1 33
3 34
2 1 30
0 2 36 35
2 2 33 30
3 38
2 2 33 30...

result:

ok 

Test #8:

score: 0
Accepted
time: 0ms
memory: 3780kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 3 2
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
269
1 3 0 1 2
1 3 3 4 5
1 1 6
2 2 7 8
3 8
0 2 9 10
2 1 8
3 12
2 1 11
0 2 14 13
2 2 8 11
3 16
2 2 8 11
3 18
2 2 8 11
3 20
2 2 8 11
3 22
2 2 8 11
3 24
2 2 8 11
3 26
2 2 8 11
3 28
1 1 7
2 2 6 30
3 30
0 2 31 32
2 1 33
3 34
2 1 30
0 2 36 35
2 2 33 30
3 38
2 2 33 30...

result:

ok 

Test #9:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 3 3
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
268
1 3 0 1 2
1 3 3 4 5
1 1 6
2 2 7 8
3 8
0 2 9 10
2 1 8
3 12
2 1 11
0 2 14 13
2 2 8 11
3 16
2 2 8 11
3 18
2 2 8 11
3 20
2 2 8 11
3 22
2 2 8 11
3 24
2 2 8 11
3 26
2 2 8 11
3 28
1 1 7
2 2 6 30
3 30
0 2 31 32
2 1 33
3 34
2 1 30
0 2 36 35
2 2 33 30
3 38
2 2 33 30...

result:

ok 

Test #10:

score: 0
Accepted
time: 0ms
memory: 4092kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 2 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
269
1 2 0 1
1 2 2 3
1 2 4 5
1 1 6
2 2 7 9
2 2 8 10
3 9
0 2 10 12
3 10
0 2 11 14
2 2 9 15
3 16
2 1 13
0 2 18 17
2 2 9 13
3 20
2 1 15
0 2 22 21
2 3 9 13 15
3 24
2 3 9 13 15
3 26
2 3 9 13 15
3 28
2 3 9 13 15
3 30
2 3 9 13 15
3 32
2 3 9 13 15
3 34
1 1 8
2 2 7 36
2...

result:

ok 

Test #11:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 2 2
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
269
1 2 0 1
1 2 2 3
1 2 4 5
1 1 6
2 2 7 9
2 2 8 10
3 9
0 2 10 12
3 10
0 2 11 14
2 2 9 15
3 16
2 1 13
0 2 18 17
2 2 9 13
3 20
2 1 15
0 2 22 21
2 3 9 13 15
3 24
2 3 9 13 15
3 26
2 3 9 13 15
3 28
2 3 9 13 15
3 30
2 3 9 13 15
3 32
2 3 9 13 15
3 34
1 1 8
2 2 7 36
2...

result:

ok 

Test #12:

score: 0
Accepted
time: 0ms
memory: 3776kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 2 3
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
268
1 2 0 1
1 2 2 3
1 2 4 5
1 1 6
2 2 7 9
2 2 8 10
3 9
0 2 10 12
3 10
0 2 11 14
2 2 9 15
3 16
2 1 13
0 2 18 17
2 2 9 13
3 20
2 1 15
0 2 22 21
2 3 9 13 15
3 24
2 3 9 13 15
3 26
2 3 9 13 15
3 28
2 3 9 13 15
3 30
2 3 9 13 15
3 32
2 3 9 13 15
3 34
1 1 8
2 2 7 36
2...

result:

ok 

Test #13:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 3 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
280
1 3 0 1 2
1 3 3 4 5
1 3 6 7 8
1 1 9
2 2 10 12
2 2 11 13
3 12
0 2 13 15
3 13
0 2 14 17
2 2 12 18
3 19
2 1 16
0 2 21 20
2 2 12 16
3 23
2 1 18
0 2 25 24
2 3 12 16 18
3 27
2 3 12 16 18
3 29
2 3 12 16 18
3 31
2 3 12 16 18
3 33
2 3 12 16 18
3 35
2 3 12 16 18
3 3...

result:

ok 

Test #14:

score: 0
Accepted
time: 0ms
memory: 4096kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 3 2
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
280
1 3 0 1 2
1 3 3 4 5
1 3 6 7 8
1 1 9
2 2 10 12
2 2 11 13
3 12
0 2 13 15
3 13
0 2 14 17
2 2 12 18
3 19
2 1 16
0 2 21 20
2 2 12 16
3 23
2 1 18
0 2 25 24
2 3 12 16 18
3 27
2 3 12 16 18
3 29
2 3 12 16 18
3 31
2 3 12 16 18
3 33
2 3 12 16 18
3 35
2 3 12 16 18
3 3...

result:

ok 

Test #15:

score: 0
Accepted
time: 0ms
memory: 4096kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 3 3
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
279
1 3 0 1 2
1 3 3 4 5
1 3 6 7 8
1 1 9
2 2 10 12
2 2 11 13
3 12
0 2 13 15
3 13
0 2 14 17
2 2 12 18
3 19
2 1 16
0 2 21 20
2 2 12 16
3 23
2 1 18
0 2 25 24
2 3 12 16 18
3 27
2 3 12 16 18
3 29
2 3 12 16 18
3 31
2 3 12 16 18
3 33
2 3 12 16 18
3 35
2 3 12 16 18
3 3...

result:

ok 

Test #16:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
3 3 4
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
280
1 3 0 1 2
1 3 3 4 5
1 3 6 7 8
1 1 9
2 2 10 12
2 2 11 13
3 12
0 2 13 15
3 13
0 2 14 17
2 2 12 18
3 19
2 1 16
0 2 21 20
2 2 12 16
3 23
2 1 18
0 2 25 24
2 3 12 16 18
3 27
2 3 12 16 18
3 29
2 3 12 16 18
3 31
2 3 12 16 18
3 33
2 3 12 16 18
3 35
2 3 12 16 18
3 3...

result:

ok 

Test #17:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 2 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
247
1 2 0 1
1 1 2
2 1 3
3 4
2 1 3
3 6
2 1 3
3 8
2 1 3
3 10
2 1 3
3 12
2 1 3
3 14
2 1 3
3 16
2 1 3
3 18
1 1 2
2 1 20
3 21
2 1 20
3 23
2 1 20
3 25
2 1 20
3 27
2 1 20
3 29
2 1 20
3 31
2 1 20
3 33
2 1 20
3 35
3 5
3 7
3 9
3 11
3 13
3 15
3 17
3 19
2 2 22 37
0 2 22 3...

result:

ok 

Test #18:

score: 0
Accepted
time: 0ms
memory: 4084kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 1 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
247
1 1 0
1 1 1
1 1 2
2 2 3 4
3 4
0 2 5 6
2 1 4
3 8
2 1 7
0 2 10 9
2 2 4 7
3 12
2 2 4 7
3 14
2 2 4 7
3 16
2 2 4 7
3 18
2 2 4 7
3 20
2 2 4 7
3 22
2 2 4 7
3 24
1 1 3
2 2 2 26
3 26
0 2 27 28
2 1 29
3 30
2 1 26
0 2 32 31
2 2 29 26
3 34
2 2 29 26
3 36
2 2 29 26
3 3...

result:

ok 

Subtask #2:

score: 11
Accepted

Test #19:

score: 11
Accepted
time: 0ms
memory: 3892kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 9 3
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
307
1 9 0 1 2 3 4 5 6 7 8
1 1 9
2 1 10
3 11
2 1 10
3 13
2 1 10
3 15
2 1 10
3 17
2 1 10
3 19
2 1 10
3 21
2 1 10
3 23
2 1 10
3 25
1 1 9
2 1 27
3 28
2 1 27
3 30
2 1 27
3 32
2 1 27
3 34
2 1 27
3 36
2 1 27
3 38
2 1 27
3 40
2 1 27
3 42
3 12
3 14
3 16
3 18
3 20
3 22
...

result:

ok 

Test #20:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
9 1 5
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
307
1 1 0
1 1 1
1 1 2
1 1 3
1 1 4
1 1 5
1 1 6
1 1 7
1 1 8
1 1 9
2 2 10 18
2 2 11 19
2 2 12 20
2 2 13 21
2 2 14 22
2 2 15 23
2 2 16 24
2 2 17 25
3 18
0 2 19 27
3 19
0 2 20 29
3 20
0 2 21 31
3 21
0 2 22 33
3 22
0 2 23 35
3 23
0 2 24 37
3 24
0 2 25 39
3 25
0 2 26...

result:

ok 

Test #21:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
10 5 2
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
355
1 5 0 1 2 3 4
1 5 5 6 7 8 9
1 5 10 11 12 13 14
1 5 15 16 17 18 19
1 5 20 21 22 23 24
1 5 25 26 27 28 29
1 5 30 31 32 33 34
1 5 35 36 37 38 39
1 5 40 41 42 43 44
1 5 45 46 47 48 49
1 1 50
2 2 51 60
2 2 52 61
2 2 53 62
2 2 54 63
2 2 55 64
2 2 56 65
2 2 57 66...

result:

ok 

Test #22:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
5 10 12
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
354
1 10 0 1 2 3 4 5 6 7 8 9
1 10 10 11 12 13 14 15 16 17 18 19
1 10 20 21 22 23 24 25 26 27 28 29
1 10 30 31 32 33 34 35 36 37 38 39
1 10 40 41 42 43 44 45 46 47 48 49
1 1 50
2 2 51 55
2 2 52 56
2 2 53 57
2 2 54 58
3 55
0 2 56 60
3 56
0 2 57 62
3 57
0 2 58 64...

result:

ok 

Test #23:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
10 10 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
394
1 10 0 1 2 3 4 5 6 7 8 9
1 10 10 11 12 13 14 15 16 17 18 19
1 10 20 21 22 23 24 25 26 27 28 29
1 10 30 31 32 33 34 35 36 37 38 39
1 10 40 41 42 43 44 45 46 47 48 49
1 10 50 51 52 53 54 55 56 57 58 59
1 10 60 61 62 63 64 65 66 67 68 69
1 10 70 71 72 73 74 7...

result:

ok 

Test #24:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
10 10 5
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
393
1 10 0 1 2 3 4 5 6 7 8 9
1 10 10 11 12 13 14 15 16 17 18 19
1 10 20 21 22 23 24 25 26 27 28 29
1 10 30 31 32 33 34 35 36 37 38 39
1 10 40 41 42 43 44 45 46 47 48 49
1 10 50 51 52 53 54 55 56 57 58 59
1 10 60 61 62 63 64 65 66 67 68 69
1 10 70 71 72 73 74 7...

result:

ok 

Test #25:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
10 10 9
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
393
1 10 0 1 2 3 4 5 6 7 8 9
1 10 10 11 12 13 14 15 16 17 18 19
1 10 20 21 22 23 24 25 26 27 28 29
1 10 30 31 32 33 34 35 36 37 38 39
1 10 40 41 42 43 44 45 46 47 48 49
1 10 50 51 52 53 54 55 56 57 58 59
1 10 60 61 62 63 64 65 66 67 68 69
1 10 70 71 72 73 74 7...

result:

ok 

Test #26:

score: 0
Accepted
time: 0ms
memory: 3876kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
10 10 14
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
392
1 10 0 1 2 3 4 5 6 7 8 9
1 10 10 11 12 13 14 15 16 17 18 19
1 10 20 21 22 23 24 25 26 27 28 29
1 10 30 31 32 33 34 35 36 37 38 39
1 10 40 41 42 43 44 45 46 47 48 49
1 10 50 51 52 53 54 55 56 57 58 59
1 10 60 61 62 63 64 65 66 67 68 69
1 10 70 71 72 73 74 7...

result:

ok 

Test #27:

score: 0
Accepted
time: 0ms
memory: 3808kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
10 10 18
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
393
1 10 0 1 2 3 4 5 6 7 8 9
1 10 10 11 12 13 14 15 16 17 18 19
1 10 20 21 22 23 24 25 26 27 28 29
1 10 30 31 32 33 34 35 36 37 38 39
1 10 40 41 42 43 44 45 46 47 48 49
1 10 50 51 52 53 54 55 56 57 58 59
1 10 60 61 62 63 64 65 66 67 68 69
1 10 70 71 72 73 74 7...

result:

ok 

Subtask #3:

score: 11
Accepted

Dependency #2:

100%
Accepted

Test #28:

score: 11
Accepted
time: 1ms
memory: 3812kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
30 30 15
100 198
292 896
132 11
161 406
319 701
460 596
369 959
191 730
128 923
590 1006
31 451
230 575
143 515
149 571
73 554
699 559
302 658
455 1017
252 283
137 380
159 965
260 639
46 527
332 968
57 457
439 686
320 339
157 358
696 620
727 1022
623 949
35 609
7...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
679
1 30 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 30 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83...

result:

ok 

Test #29:

score: 0
Accepted
time: 1ms
memory: 3920kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 29 15
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
449
1 29 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1 1 29
2 1 30
3 31
2 1 30
3 33
2 1 30
3 35
2 1 30
3 37
2 1 30
3 39
2 1 30
3 41
2 1 30
3 43
2 1 30
3 45
1 1 29
2 1 47
3 48
2 1 47
3 50
2 1 47
3 52
2 1 47
3 54
2 1 47
3 56
2 1 ...

result:

ok 

Test #30:

score: 0
Accepted
time: 1ms
memory: 4068kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
29 1 13
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
450
1 1 0
1 1 1
1 1 2
1 1 3
1 1 4
1 1 5
1 1 6
1 1 7
1 1 8
1 1 9
1 1 10
1 1 11
1 1 12
1 1 13
1 1 14
1 1 15
1 1 16
1 1 17
1 1 18
1 1 19
1 1 20
1 1 21
1 1 22
1 1 23
1 1 24
1 1 25
1 1 26
1 1 27
1 1 28
1 1 29
2 2 30 58
2 2 31 59
2 2 32 60
2 2 33 61
2 2 34 62
2 2 35...

result:

ok 

Test #31:

score: 0
Accepted
time: 0ms
memory: 3896kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
30 15 42
32 210
220 359
210 369
204 275
206 353
210 365
254 353
210 355
207 358
223 374
221 352
222 353
211 274
221 274
220 327
211 352
194 275
207 374
220 375
208 275
223 358
211 275
221 275
210 274
207 353
223 353
210 352
220 374
220 358
210 275
220 353
10 11
1...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
571
1 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
1 15 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 15 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
1 15 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 15 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
1 15 75 76 77 78...

result:

ok 

Test #32:

score: 0
Accepted
time: 1ms
memory: 3880kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
15 30 2
94 170
33 3
111 73
28 29
312 282
134 224
107 104
93 82
217 222
19 125
436 437
230 231
199 196
298 299
61 50
233 238
362 363
176 146
452 453
491 501
225 195
16 17
241 246
180 181
410 484
450 300
162 163
181 138
446 408
493 482
116 117
164 129
441 447
148 2...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
573
1 30 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 30 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83...

result:

ok 

Test #33:

score: 0
Accepted
time: 1ms
memory: 3864kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
30 30 1
64 184
397 491
205 206
278 279
366 367
566 567
421 387
156 250
528 529
415 400
429 430
748 749
413 507
408 390
68 69
649 759
79 429
1012 1013
79 64
368 369
963 964
64 65
147 241
37 38
336 702
171 137
240 222
239 224
305 306
133 134
688 670
996 998
742 546...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
682
1 30 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 30 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83...

result:

ok 

Test #34:

score: 0
Accepted
time: 1ms
memory: 3872kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
30 30 15
94 198
999 950
457 594
733 622
77 497
395 699
578 902
340 698
110 375
475 651
367 560
633 941
336 644
426 279
320 301
177 485
173 62
271 976
373 258
12 277
358 995
225 148
451 747
4 502
112 362
714 1018
544 1011
368 707
532 914
708 673
757 838
52 435
202...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
679
1 30 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 30 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83...

result:

ok 

Test #35:

score: 0
Accepted
time: 1ms
memory: 4132kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
30 30 29
94 212
85 934
369 600
122 969
208 497
151 594
51 972
739 967
330 903
505 270
436 744
428 853
279 296
239 979
141 761
149 923
249 368
240 479
171 604
441 971
300 551
386 918
305 905
273 1001
298 540
705 964
251 661
536 985
272 930
16 583
651 1021
112 904
...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
679
1 30 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 30 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83...

result:

ok 

Test #36:

score: 0
Accepted
time: 1ms
memory: 4180kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
30 30 44
94 227
59 866
167 925
78 1006
459 937
110 937
242 968
195 657
149 635
254 738
83 1011
81 660
90 897
186 633
50 567
185 990
250 728
196 925
195 694
209 563
186 571
144 529
213 528
252 724
144 909
425 897
250 635
225 695
484 939
149 914
190 931
173 900
19 ...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
680
1 30 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 30 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83...

result:

ok 

Test #37:

score: 0
Accepted
time: 1ms
memory: 3948kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
30 30 58
12 241
240 882
241 883
237 919
236 918
202 919
236 953
241 916
239 882
241 882
236 919
323 322
323 289

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
679
1 30 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
1 30 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83...

result:

ok 

Subtask #4:

score: 15
Accepted

Dependency #3:

100%
Accepted

Test #38:

score: 15
Accepted
time: 2ms
memory: 4300kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
100 100 50
100 373
2576 5424
552 2444
1090 3586
698 7992
6043 6838
1364 8276
6025 8816
2900 5141
3114 3664
302 2171
3930 5433
2225 7225
6218 8326
1972 9191
1325 1432
5656 8200
5864 8290
4135 6498
3016 6790
8474 9563
6462 8785
2409 7590
6598 7251
1916 4460
276 447...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1676
1 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #39:

score: 0
Accepted
time: 1ms
memory: 3896kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 99 24
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
949
1 99 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 ...

result:

ok 

Test #40:

score: 0
Accepted
time: 0ms
memory: 4200kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
99 1 75
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
947
1 1 0
1 1 1
1 1 2
1 1 3
1 1 4
1 1 5
1 1 6
1 1 7
1 1 8
1 1 9
1 1 10
1 1 11
1 1 12
1 1 13
1 1 14
1 1 15
1 1 16
1 1 17
1 1 18
1 1 19
1 1 20
1 1 21
1 1 22
1 1 23
1 1 24
1 1 25
1 1 26
1 1 27
1 1 28
1 1 29
1 1 30
1 1 31
1 1 32
1 1 33
1 1 34
1 1 35
1 1 36
1 1 37
...

result:

ok 

Test #41:

score: 0
Accepted
time: 1ms
memory: 3996kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
100 50 3
94 276
1031 1123
1761 2364
4140 4221
1145 1204
3663 3736
2741 2743
1762 2355
881 898
584 586
4388 4471
2253 2840
4044 3624
4586 4214
2398 2490
2193 2220
2983 2977
1868 1951
3776 3778
1530 1094
4132 4224
4705 4707
2554 2101
604 696
1984 1580
734 751
3278 ...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1323
1 50 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
1 50 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 ...

result:

ok 

Test #42:

score: 0
Accepted
time: 1ms
memory: 3904kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
50 100 146
62 419
417 4645
448 4187
136 4963
418 4737
357 4963
356 4962
418 4892
451 4743
449 5119
363 4736
455 4737
356 4741
453 4644
358 4743
44 4743
416 4644
448 4961
362 4644
454 4645
363 4645
417 4736
419 4647
357 4742
454 4736
137 4743
143 4644
450 4963
419...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1322
1 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #43:

score: 0
Accepted
time: 0ms
memory: 4004kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
100 100 1
64 324
653 1385
3089 3325
3659 3668
1240 1860
3151 3115
5912 5913
23 243
4631 4624
5785 5786
4418 4398
9158 9122
6968 6969
2047 2040
4675 4684
1561 1669
7043 6767
4494 4202
10147 10156
2753 2733
2838 2839
4698 4699
945 946
1361 1362
1518 1519
1948 1656
...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1678
1 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #44:

score: 0
Accepted
time: 2ms
memory: 4268kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
100 100 50
94 373
862 1646
6792 7492
2571 4015
1404 5116
6915 8002
2647 2595
3391 7806
5480 7551
1179 3527
5801 7798
328 1302
4342 5011
2034 5092
7970 8190
6885 8023
5474 9984
2527 6781
858 2157
2186 5138
581 2333
1759 4801
3966 4215
3244 8687
8166 10088
3531 695...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1676
1 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #45:

score: 0
Accepted
time: 2ms
memory: 4300kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
100 100 100
94 423
2964 7126
3807 9296
1405 7916
1562 7381
6339 8228
1637 3812
435 6515
2023 9297
3829 6490
2833 9344
1514 9665
930 2794
4373 6908
5849 10065
7465 9329
720 1655
8251 8777
5462 10216
6358 7686
5962 9263
5439 10236
3442 8947
1349 8688
1429 9614
2811...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1676
1 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #46:

score: 0
Accepted
time: 2ms
memory: 4304kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
100 100 149
94 472
256 7295
2745 10137
1410 7951
911 8809
508 10054
1742 8765
2 8419
481 9309
3332 9467
531 9298
88 9483
2151 7792
735 8460
353 8185
794 8916
61 10004
722 9660
461 7327
1644 10131
1045 9462
4994 10103
451 10061
1378 7746
4053 8750
1117 9425
766 87...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1675
1 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #47:

score: 0
Accepted
time: 2ms
memory: 4004kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
100 100 198
12 521
621 9478
618 9380
618 9281
521 9378
718 9381
521 9479
619 9381
520 9478
521 9478
618 9381
4444 4447
4444 4528

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1675
1 100 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Subtask #5:

score: 0
Wrong Answer

Test #48:

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

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 199 1
-1

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1654
1 199 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

wrong answer on inputs (0, 127), (0, 128), expected 1, but computed 0

Subtask #6:

score: 0
Wrong Answer

Test #70:

score: 8
Accepted
time: 0ms
memory: 3832kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 2 1
3 128
128 129
128 130
128 131

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 2 0 1
1 2 2 3
1 1 4
2 2 5 6
3 6
0 2 7 8
2 1 6
3 10
2 1 9
0 2 12 11
2 2 6 9
3 14
2 2 6 9
3 16
2 2 6 9
3 18
2 2 6 9
3 20
2 2 6 9
3 22
2 2 6 9
3 24
2 2 6 9
3 26
1 1 5
2 2 4 28
3 28
0 2 29 30
2 1 31
3 32
2 1 28
0 2 34 33
2 2 31 28
3 36
2 2 31 28
3 38
2 2 31 ...

result:

ok 

Test #71:

score: 0
Accepted
time: 0ms
memory: 3824kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
2 2 2
3 129
129 128
129 131
129 130

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
258
1 2 0 1
1 2 2 3
1 1 4
2 2 5 6
3 6
0 2 7 8
2 1 6
3 10
2 1 9
0 2 12 11
2 2 6 9
3 14
2 2 6 9
3 16
2 2 6 9
3 18
2 2 6 9
3 20
2 2 6 9
3 22
2 2 6 9
3 24
2 2 6 9
3 26
1 1 5
2 2 4 28
3 28
0 2 29 30
2 1 31
3 32
2 1 28
0 2 34 33
2 2 31 28
3 36
2 2 31 28
3 38
2 2 31 ...

result:

ok 

Test #72:

score: 0
Accepted
time: 1ms
memory: 3944kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
101 29 1
8 254
254 255
254 227
254 252
254 196
254 224
254 2958
254 2986
254 226

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1180
1 29 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1 29 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
1 29 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 8...

result:

ok 

Test #73:

score: 0
Accepted
time: 1ms
memory: 3916kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
101 29 31
92 284
284 330
284 634
284 598
284 114
284 366
284 966
284 814
284 922
284 510
284 474
284 194
284 930
284 42
284 230
284 1002
284 438
284 526
284 778
284 186
284 6
284 958
284 150
284 562
284 886
284 78
284 402
284 850
284 482
284 222
284 367
284 671
2...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1176
1 29 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1 29 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
1 29 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 8...

result:

ok 

Test #74:

score: 0
Accepted
time: 1ms
memory: 4016kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
101 29 64
92 317
317 1326
317 1566
317 1090
317 1962
317 1046
317 1890
317 2034
317 1190
317 1934
317 1442
317 1074
317 1846
317 1118
317 1234
317 1298
317 1162
317 1862
317 1398
317 2006
317 1918
317 1470
317 1262
317 1514
317 1370
317 1594
317 1486
317 1414
317...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1180
1 29 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1 29 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
1 29 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 8...

result:

ok 

Test #75:

score: 0
Accepted
time: 1ms
memory: 3932kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
101 29 95
92 348
348 1738
348 3066
348 1682
348 2058
348 2886
348 3030
348 2830
348 2094
348 2866
348 1774
348 2454
348 2310
348 2546
348 2490
348 2238
348 2258
348 2510
348 2142
348 2394
348 2294
348 2402
348 2202
348 2114
348 2922
348 2430
348 1718
348 2210
348...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1175
1 29 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1 29 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
1 29 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 8...

result:

ok 

Test #76:

score: 0
Accepted
time: 1ms
memory: 4236kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
101 29 128
7 381
381 2606
381 2578
381 2573
381 2601
381 352
381 353
381 380

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1180
1 29 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
1 29 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
1 29 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 8...

result:

ok 

Test #77:

score: 0
Accepted
time: 1ms
memory: 3924kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
44 135 1
8 303
303 302
303 424
303 301
303 33
303 423
303 5660
303 6018
303 425

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1531
1 135 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #78:

score: 0
Accepted
time: 1ms
memory: 3972kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
44 135 45
97 347
347 375
347 6133
347 523
347 4413
347 653
347 1205
347 99
347 4137
347 2885
347 489
347 3097
347 2397
347 1755
347 2519
347 4535
347 229
347 5369
347 2673
347 2121
347 3071
347 5191
347 3585
347 3771
347 3437
347 1075
347 4901
347 4817
347 1465
3...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1528
1 135 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #79:

score: 0
Accepted
time: 1ms
memory: 4008kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
44 135 89
97 391
391 479
391 5981
391 1413
391 3439
391 3021
391 1949
391 6099
391 4657
391 2903
391 1697
391 5445
391 5193
391 3557
391 2651
391 2367
391 763
391 1295
391 4491
391 2485
391 1043
391 1161
391 4909
391 4791
391 4373
391 2115
391 4255
391 2233
391 3...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1528
1 135 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #80:

score: 0
Accepted
time: 1ms
memory: 4280kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
44 135 133
96 435
435 311
435 5813
435 5939
435 2265
435 2115
435 5193
435 1287
435 3515
435 2895
435 1761
435 4491
435 4689
435 2391
435 3987
435 5469
435 4217
435 2609
435 3113
435 1643
435 4365
435 539
435 1919
435 657
435 3389
435 3861
435 3013
435 3585
435 5...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1529
1 135 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #81:

score: 0
Accepted
time: 1ms
memory: 3972kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
44 135 177
7 479
479 6003
479 5869
479 5868
479 6002
479 344
479 345
479 478

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1528
1 135 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #82:

score: 0
Accepted
time: 1ms
memory: 3896kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 199 1
3 324
324 325
324 326
324 386

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1654
1 199 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #83:

score: 0
Accepted
time: 1ms
memory: 3940kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 199 60
5 383
383 324
383 323
383 322
383 441
383 382

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1651
1 199 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #84:

score: 0
Accepted
time: 1ms
memory: 3932kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 199 137
5 460
460 324
460 325
460 326
460 266
460 461

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1652
1 199 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #85:

score: 0
Accepted
time: 1ms
memory: 3904kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
1 199 198
3 521
521 716
521 719
521 520

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1651
1 199 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

ok 

Test #86:

score: 0
Accepted
time: 1ms
memory: 3936kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
199 1 1
3 324
324 325
324 326
324 386

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1654
1 1 0
1 1 1
1 1 2
1 1 3
1 1 4
1 1 5
1 1 6
1 1 7
1 1 8
1 1 9
1 1 10
1 1 11
1 1 12
1 1 13
1 1 14
1 1 15
1 1 16
1 1 17
1 1 18
1 1 19
1 1 20
1 1 21
1 1 22
1 1 23
1 1 24
1 1 25
1 1 26
1 1 27
1 1 28
1 1 29
1 1 30
1 1 31
1 1 32
1 1 33
1 1 34
1 1 35
1 1 36
1 1 37...

result:

ok 

Test #87:

score: 0
Accepted
time: 1ms
memory: 3996kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
199 1 99
5 422
422 452
422 453
422 450
422 352
422 423

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1651
1 1 0
1 1 1
1 1 2
1 1 3
1 1 4
1 1 5
1 1 6
1 1 7
1 1 8
1 1 9
1 1 10
1 1 11
1 1 12
1 1 13
1 1 14
1 1 15
1 1 16
1 1 17
1 1 18
1 1 19
1 1 20
1 1 21
1 1 22
1 1 23
1 1 24
1 1 25
1 1 26
1 1 27
1 1 28
1 1 29
1 1 30
1 1 31
1 1 32
1 1 33
1 1 34
1 1 35
1 1 36
1 1 37...

result:

ok 

Test #88:

score: -8
Wrong Answer
time: 1ms
memory: 3944kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
199 1 198
3 521
521 716
521 719
521 520

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
1651
1 1 0
1 1 1
1 1 2
1 1 3
1 1 4
1 1 5
1 1 6
1 1 7
1 1 8
1 1 9
1 1 10
1 1 11
1 1 12
1 1 13
1 1 14
1 1 15
1 1 16
1 1 17
1 1 18
1 1 19
1 1 20
1 1 21
1 1 22
1 1 23
1 1 24
1 1 25
1 1 26
1 1 27
1 1 28
1 1 29
1 1 30
1 1 31
1 1 32
1 1 33
1 1 34
1 1 35
1 1 36
1 1 37...

result:

wrong answer on inputs (0, 0), (198, 0), expected 1, but computed 0

Subtask #7:

score: 0
Wrong Answer

Test #101:

score: 0
Wrong Answer
time: 6ms
memory: 4516kb

input:

c2675211-ade0-44b0-8c15-741dd835f3d2
200 200 1
100 524
24804 34853
20956 34628
18830 29184
28919 32573
11364 24911
2226 5624
3715 30838
2206 17143
21162 27531
20198 27242
5007 12724
27160 32586
3535 7307
17015 25466
626 13891
9132 26194
9198 33073
815 7328
6938 21395
9489 30995
10804 21530
14698 394...

output:

b17553fd-ba5a-4140-836c-491f938c515b
OK
3086
1 200 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 8...

result:

wrong answer on inputs (80, 199), (81, 199), expected 1, but computed 0

Subtask #8:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Dependency #4:

100%
Accepted

Dependency #5:

0%