Clarification request: Encoding

Clarification request: Encoding

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.

5 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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

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)

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

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

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui