Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import "/fmt" for Fmt
|
||||
import "./fmt" for Fmt
|
||||
|
||||
var equilibrium = Fn.new { |a|
|
||||
var len = a.count
|
||||
|
|
@ -25,5 +25,5 @@ var tests = [
|
|||
|
||||
System.print("The equilibrium indices for the following sequences are:\n")
|
||||
for (test in tests) {
|
||||
System.print("%(Fmt.s(24, test)) -> %(equilibrium.call(test))")
|
||||
Fmt.print("$24n -> $n", test, equilibrium.call(test))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue