$𝖘𝖍𝖐𝖚/𝖘𝖍𝖎𝖐𝖆𝖐𝖚-𝖗𝖚𝖑𝖊𝖘.𝖘𝖆𝖕𝖕𝖍𝖎𝖗𝖊 
    0---------------------------------| Shikaku Rules in Sapphire |----------------------------------
    1--|Ann×mgridofcells,khavenumbersinthem                                               
    2--|dividegridintonon-overlappingrectangles,eachcontainingasinglenumberwhichis      
    3--|theareaoftherectangle                                                                  
    4                                                                                               
    5∀i∈{0⋯k⨫1}                                                                                     
    6xi{0n1}                                                                                
    7yi{0m1}                                                                                
    8lfti{0n1}rgti{0n1}rgti>=lfti                                         
    9boti{0m1}topi{0m1}topi>=boti                                         
   10xi>=lftixi<=rgti                                                              
   11yi>=botiyi⦘<=⦗topi                                                              
   12wdi=⦗rgti⦘+1lfti                                                                     
   13hti=⦗topi⦘+1boti                                                                     
   14wdi·hti=szi                                                                         
   15∀j∈{0⋯k⨫1}                                                                                   
   16j¬=ilftj⦘>rgtibotj>⦗topirgtj⦘<lftitopj<boti               
   17wdi{0n}∙∙--|Theseareasolverhacktomakesurethexov's⟨⦗wdi⦘0⋯<k⟩aredefined 
   18hti{0m}