using System.Collections.Generic;
public static HashSet<char> Vowel = new HashSet<char> { 'a', 'e', 'i', 'o', 'u' };
public static int CountVowelSubstrings(string word) {
var hashSet = new HashSet<char>();
for (int i = 0; i < len; i++)
for (int j = i; j < len && Vowel.Contains(word[j]); j++)
if (hashSet.Count == Vowel.Count)
public static void Main()
Console.WriteLine("UniLecs");
Console.WriteLine(CountVowelSubstrings("aeiouu"));
Console.WriteLine(CountVowelSubstrings("cuaieuouac"));