Advertisement
framp

Solution

Mar 29th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. 7111=0 => 1=0 *
  2. 2172=0 => 2=0 *
  3. 5555=0 => 5=0 *
  4. 0000=4 => 0=1
  5. 6666=4 => 6=1
  6. 9999=4 => 9=1
  7. 8096=5 => 8=2 *
  8. 2581=0+0+2+0=2
  9.  
  10. oppure più semplicemente, basta contare il numero di zone chiuse:
  11. 2 => 0, 5 => 0, 8 => 2, 1 => 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement