using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Collections.Generic;
static Dictionary<int, int> Cluster = new Dictionary<int, int>();
private static void Main(string[] args)
for (int i = 1 ; i < 101; i++)
Cluster.TryAdd(i - (i % 5), 0);
foreach (KeyValuePair<int, int> p in Cluster)
Console.WriteLine($"Bucket: {p.Key} ~ {p.Key + 5 - 1}, value :{p.Value}");
Cluster = new Dictionary<int, int>();
for (int i = 1 ; i < 101; i++)
Cluster.TryAdd(i - (i % 10), 0);
foreach (KeyValuePair<int, int> p in Cluster)
Console.WriteLine($"Bucket: {p.Key} ~ {p.Key + 10 - 1}, value :{p.Value}");