Tuesday, May 2, 2023

Puzzle 217: TomTom (1-5)

The rules were taken from here.

Insert a digit from 1 to N into each cell in the N by N grid so that no digit repeats in any row or column. Also, the number in the upper-left corner of a bold cage indicates the value of a mathematical operation (addition, subtraction, multiplication, division) applied successively to all digits in the cage, starting with the largest digit for subtraction and division (e.g. 1,2,4 with subtraction is a 1- clue as 4-2-1 = 1). The operation may or may not be given in the cage, but at least one of the four operations must apply. Digits can repeat within a cage.
The puzzle has a single solution.

רשמו בכל משבצת ספרה בין 1 ל-N, כאשר N הוא מספר השורות (וגם מספר העמודות) בטבלה. כל ספרה צריכה להופיע בדיוק פעם אחת בכל שורה ובכל עמודה. בחלק מהאיזורים המודגשים יש בפינה השמאלית העליונה מספר ופעולה חשבונית (חיבור, חיסור, כפל, או חילוק). המספר מציין את הערך של הפעולה החשבונית שמופעלת על כל הספרות שבתוך האיזור, כאשר תמיד נתחיל את הפעולה מהספרה הגדולה ביותר באיזור (למשל, אם יש איזור שבתוכו הספרות 1, 2, 4 רמז החיסור המתאים יהיה -1, כי 1=4-2-1). יש איזורים שבהם בפינה השמאלית העליונה רק רשום מספר; באיזורים האלה צריך שלפחות אחת מהפעולות החשבוניות תתאים לרמז. ספרה יכולה להופיע יותר מפעם אחת בתוך איזור.
לחידה יש פתרון יחיד.

Example:

דוגמה:

The puzzle:
החידה: