package
Version:
v0.0.0-...-36687a4
Opens a new window with list of versions in this module.
Published: Oct 28, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Pair struct {
A, B int
}
Pair is a set of the A and B values that satisfy
the requirements below.
func PositiveIntegerPairs(m, n int) []Pair
PositiveIntegerPairs returns all candidates
that satisfy the following conditions:
a + b = M
a XOR b = N
Source Files
¶
Click to show internal directories.
Click to hide internal directories.