shuttle operator <=>
This commit is contained in:
1 parent
b331f4edaa
commit
75d90d7228
6 files changed
+68
-8
No files matched your search
@@ -16,6 +16,9 @@ fun naiveCountHappyNumbers() {
|
||||
count
|
||||
}
|
||||
|
||||
//
|
||||
// After all optimizations it takes ~120ms.
|
||||
//
|
||||
val found = naiveCountHappyNumbers()
|
||||
println("Found happy numbers: "+found)
|
||||
assert( found == 55252 )
|
||||
assert( found == 55252 )
|
||||
Reference in new issue
Block a user