We're a place where coders share, stay up-to-date and grow their careers.
Okay, I couldn't help myself:
using System; using System.Linq; public class Kata { public static long StairsIn20(int[][] stairs) { return stairs.SelectMany(x => x).Sum() * 20; } }
Okay, I couldn't help myself: