• flashlight(2, b, w), --- flashlight(2, 8, 4)

    From henhanna@gmail.com@21:1/5 to All on Wed Aug 31 11:55:24 2022
    flashlight(2, Batteries, Working)

    (on the Net) i only see flashlight(2, 8, 4) being asked, mentioned,

    but flashlight(2, 6, 3) is interesting too.


    flashlight(2, 6, 4)

    flashlight(2, 5, 3)


    flashlight(3, 5, 3)


    _____________________________________________

    A flashlight takes 2 (working) batteries.

    There are 8 batteries (on the Table), but some of them may be Dead (and Non-Conducting).

    To guarantee that the flashlight gets turned on, what is the minimum number of battery pairs you need to test ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From henhanna@gmail.com@21:1/5 to All on Wed Aug 31 11:59:53 2022
    where D = (b - w)

    flashlight(1, b, w) = D+1



    flashlight(2, Batteries, Working)

    flashlight(Spec, Batteries, Working)



    (on the Net) i only see flashlight(2, 8, 4) being asked, mentioned,

    but flashlight(2, 6, 3) is interesting too.


    flashlight(2, 6, 4)

    flashlight(2, 5, 3)


    flashlight(3, 5, 3)


    _____________________________________________

    A flashlight takes 2 (working) batteries.

    There are 8 batteries (on the Table), but some of them may be Dead (and Non-Conducting).

    To guarantee that the flashlight gets turned on, what is the minimum number of battery pairs you need to test ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)