C ++ program to find k - th prime factor using Sieve Of Eratosthenes . This program is efficient when we have a range of numbers .
#include <bits/stdc++.h> NEW_LINE using namespace std ; const int MAX = 10001 ;