Ad
  • Custom User Avatar

    You are using list.Add([1, 2]); syntax for creating a long[]. This is a Collection expression and this language feature was introduced with C# 12. Codewars currently only supports C# 10 so you need to use a different syntax to create the array.

    You can support this Github issue to maybe prioritize an update of the language version.