mirror of
https://github.com/cubixle/codekata-golang.git
synced 2026-04-30 19:38:45 +01:00
41: reduce boundary
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
for i := 987654321; i > 1; i-- {
|
for i := 7654321; i > 1; i-- {
|
||||||
if !isPandigital(strconv.Itoa(i)) {
|
if !isPandigital(strconv.Itoa(i)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user