You are viewing a single comment's thread. Return to all comments →
C# "one-liner" (aside from using/class/method declarations):
using System; using System.Collections.Generic; using System.IO; class Solution { static void Main(String[] args) { Console.WriteLine(new HashSet<char>(Console.ReadLine().ToLower().Replace(" ", "")).Count == 26 ? "pangram" : "not pangram"); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
C# "one-liner" (aside from using/class/method declarations):