Clarification request: Encoding

Clarification request: Encoding

Portrait de akki

The solution for

1 2 1 1 1 0

is

1 2 1 1 1

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.
Portrait de Rama Kishan Malladi (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

Portrait 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)

写字楼里写字间,写字间里程序员 程序人员写程序,又拿程序换酒钱 酒醒只在网上坐,酒醉还来网下眠 酒醉酒醒日复日,网上网下年复年
Portrait 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):

Portrait de Rama Kishan Malladi (Intel)

Cool...Thanks

-Rama

Connectez-vous pour laisser un commentaire.