Javascript Map Over Empty Array Codeforces Solutions