Guest User

Untitled

a guest
Sep 19th, 2019
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fun somar(a: List<Int>, b: List<Int>): Int {
  2. var soma = 0 // 1
  3. for (i in a) { //n+1
  4. for (j in b) { //n * (n+1)
  5. soma += i + j //n * n
  6. }
  7. }
  8. return soma // 1
  9. }
RAW Paste Data