Needed Help in problem 1097B

Revision en2, by Programmer76846, 2022-06-01 17:15:13

Hi,I'have recently solved the Problem Petr and Combination Lock.But I'm not able to understand how we reached the logic of the problem .I was clear at the point where the sum is divisible by 360.But how will we use bitmasks to solve the problem ? Thanks in Advance!

Tags help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Programmer76846 2022-06-01 17:15:13 25
en1 English Programmer76846 2022-06-01 17:13:38 270 Initial revision (published)