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.159 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.158 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.157 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.156 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.155 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.154 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.153 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.152 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.151 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.150 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.149 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.148 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.147 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.146 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.145 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.144 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.143 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.142 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.141 tracks/go/exercises/perfect-numbers/.meta/hints.md
trackler-2.2.1.140 tracks/go/exercises/perfect-numbers/.meta/hints.md