Sha256: 4d9f68ca07ac93c07f07783577ad999bb463d72eb5b37323b830a62f4f3c0b9f

Contents?: true

Size: 502 Bytes

Versions: 114

Compression:

Stored size: 502 Bytes

Contents

## Implementation

Define
```type Classification```
for containing the classification values for natural numbers.
You may choose any representation for this type.

Define three Classification constants named
```
	ClassificationDeficient
	ClassificationPerfect
	ClassificationAbundant
```

Implement a function named Classify which accepts
an int64 input and returns a Classification and an error value.

Create an error named ErrOnlyPositive
which is returned when the input is not a positive integer.

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.179 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.178 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.177 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.176 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.175 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.174 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.173 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.172 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.171 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.170 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.169 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.167 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.166 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.165 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.164 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.163 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.162 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.161 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.160 tracks/go/exercises/perfect-numbers/.meta/hints.md