Wednesday, September 6, 2017

Bitwise2 shooting the tasks 18 (per bit conjunction) recently submitted to VK's newswire (09/2017)

                                                                  Who is warned that is armed             



  To proceed read and understand http://kpolyakov.spb.ru/download/bitwise2.pdf

    ¬Z(77) => ( Z(12) => ¬A) =1
      Z(77) v (¬Z(12) v ¬A) =1

 Per De Morgan conversion we get

   ¬(A^Z(12)) v Z(77) = 1
     A^Z(12) => Z(77) = 1
     Z(12 or A) => Z(77) = 1 

   77 = 1001101 (binary)  - required minimal set of bits equal 1 to be included
                                           into A is highlited
   12 = 0001100 (binary)
   ==============
   A(min) = 1000001        
   Answer : A(min) = 65 (decimal)  




   
¬A => (Z(10) => ¬Z(3)) = 1
  A + ¬Z(10) + ¬Z(3) = 1

 Per De Morgan conversion we get

 ¬(Z(10)Z(3)) + A = 1
  Z(10)Z(3)  => A = 1
  Z(10 or 3) => A =1
 
 10 = 1010 (binary)
v
 3 =   0011 (binary)
=============
A (max) = 1011 = 11

 

No comments:

Post a Comment