C # program to count no . of distinct countries from a given group of people
using System ; class Country { public static void countCountries ( int [ ] ans , int N ) { int total_countries = 0 , i = 0 ; while ( i < N ) { int curr_size = ans [ i ] ;