T o St Golfus Özlü düzeninden kardeşlerden de birilerinin yapmak gördüklerinde kısa bir dua okuyarak geleneğine sahip haç işareti . Son zamanlarda turistler arasında ölçülen günah düzeyinin yüksek olmasından dolayı, manastıra CCTV kurmuşlar ve eski geleneği AI çağında yaşamalarına yardımcı olmak için sizi işe aldılar.
Göreviniz, meraklıların parmak takip yazılımlarından çıkan çıktıları analiz etmek ve kaç tane dua gerektiğini söylemek. Girdi, 0-4 arasında bir tamsayı içeren bir matristir, 1,2,3,4, zamanın ardışık momentlerinde parmakların pozisyonlarını temsil eder. 0, parmak olmayanları temsil eder.
Kendini geçmek için One True Way TM :
.1.
3.4
.2.
("." herhangi bir rakamla eşleşir). Ancak, kameranın dönüşü ve kalabalığın içindeki dindar Doğu Ortodoks kardeşlerinin mevcudiyeti konusundaki belirsizlik nedeniyle (One True Way TM ters yönde olan), tüm rotasyonları ve yansımaları da hesaba katmalısınız:
.4. .2. .3. .1. .3. .2. .4.
1.2 4.3 2.1 4.3 1.2 3.4 2.1
.3. .1. .4. .2. .4. .1. .3.
Bir hane çoklu çarpıların bir parçası olabilir. .pray()
Yukarıdaki 3x3 alt-matriküllerin ne kadarının mevcut olduğunu sayarak, meraklıların AI'larının sayısını kaç kez belirlemelerine yardımcı olun . Bir program veya işlev yazın. Herhangi bir makul uygun formda girişi alın.
Ahit davaları:
// in
[[0,4,2,0],
[1,3,2,4],
[2,3,1,0]]
// out
2
// in
[[4,3,3,2,4,4,1,3,2,2],
[0,3,0,2,1,1,2,3,2,3],
[0,3,1,3,2,4,3,3,1,1],
[4,3,2,3,2,4,1,4,2,3],
[0,4,2,3,4,0,2,3,2,4],
[2,1,0,0,2,0,0,1,2,4],
[4,0,3,1,3,2,0,3,2,3],
[1,4,3,3,1,4,0,1,4,4],
[0,2,4,3,4,3,1,3,0,4],
[3,0,1,0,4,0,3,3,3,3]]
// out
3
// in
[[3,2,3,1,0,3,4,2,1,1,1,1,4,0,1,3,1,1,2,1,1,3,0,1,0,1,1,0,0,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"Siz boşluk kullanmayacaksınız, çünkü Lucifer'in kötü işleri." -Meta 13: 666'ya Mektup
Haç yapan insanların hafif görselleştirme
Görüntüleme için @Tschallacka teşekkürler.