fork download
  1. object Main extends App {
  2. def m(e: Int, f: Int): Int = {
  3. val memo = Array.ofDim[Int](e+1, f+1)
  4. for (j <- 2 to f) memo(0)(j) = 1e7.toInt
  5. for (i <- 0 to e) {
  6. memo(i)(0) = 0
  7. memo(i)(1) = 0
  8. }
  9.  
  10. 42
  11. }
  12. }
  13.  
  14.  
Success #stdin #stdout 0.26s 321984KB
stdin
Standard input is empty
stdout
Standard output is empty