Ad
Code
Diff
  • using System.Collections.Generic;
    using System.Linq;
    
    public class Kumite {
      public static bool IsThree(int x) =>
        x.ToString().ToCharArray().ToList().Any(c => c == '3');
    }
    • using System.Collections.Generic;
    • using System.Linq;
    • public class Kumite {
    • public static bool IsThree(int x) =>
    • x.ToString().Contains('3');
    • x.ToString().ToCharArray().ToList().Any(c => c == '3');
    • }