[UVA] 10264 - The Most Potent Corner
Problem B: The Most Potent Corner
Problem
Every corner of the N-dimensional (1< N<15) unit
cube has weight (some positive integer less than 256). We will call two
corners neighbouring, if they have common edge. Potency of the corner is
the sum...