Skip to content

Instantly share code, notes, and snippets.

@Yuichiroh
Created April 2, 2015 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yuichiroh/40ae9a59cc04a85e4ba9 to your computer and use it in GitHub Desktop.
Save Yuichiroh/40ae9a59cc04a85e4ba9 to your computer and use it in GitHub Desktop.
for (i <- 1 until 5) {
val best = bests(i - 1).max
for (j <- 0 until 5) {
bests(i)(j) = best + scores(i)(j)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment