CPP program to find maximum differences between two prime numbers in given ranges
#include <bits/stdc++.h> NEW_LINE using namespace std ; #define MAX  100005 NEW_LINE bool prime [ MAX ] ; int prefix [ MAX ] , suffix [ MAX ] ;