Clarification request: Encoding

Clarification request: Encoding

Imagen de akki

The solution for

1 2 1 1 1 0

is

121
11

How would this be encoded?

  1. (1 2 1) (1 1)
  2. (1 2 1) (1) (1)

From the problem description I would expect it to be #1. But I came across a problem here that uses #2.

(235,139,151)(127,12)(163)(125,79,31)(110,48)(46,14,19)(211)(9,5)(4,20)(13)(10,3)(23)(165,16)(149)

In this case (46, 14, 19) and (211) are on the same row. Can someone verify please?

Just want to be sure.

Thanks.

publicaciones de 5 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Hi,
Yes, for the problem you indicated "1 2 1 1 1", it would be encloded as indicated in # 1: (1 2 1) (1 1).

In your 2nd problem description, can you indicate the tiling picture and the dimensions of the rectangle tile?

Thanks
-Rama

Imagen de 邓辉

My output is #1

dimensions: 525 x 525

(235 139 151)(127 12)(163)(125 79 31)(110 48)(46 14 19 211)(9 5)(4 20)(13)(10 3)(23)(165 16)(149)

写字楼里写字间,写字间里程序员 程序人员写程序,又拿程序换酒钱 酒醒只在网上坐,酒醉还来网下眠 酒醉酒醒日复日,网上网下年复年
Imagen de akki

Quoting

My output is #1

dimensions: 525 x 525

(235 139 151)(127 12)(163)(125 79 31)(110 48)(46 14 19 211)(9 5)(4 20)(13)(10 3)(23)(165 16)(149)

Thanks Rama, ,

Here's the visual representation (click image to enlarge):

Cool...Thanks

-Rama

Inicie sesión para dejar un comentario.