Binary Search Math Number theory SPOJ FRQPRIME - Frequent Prime Ranges - SPOJ Solution C++ April 26, 2021 Add Comment ➤ Problem Link : FRQPRIME 👉 Hint : edit please ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; int sieve[10000... Read More
Math Number theory SPOJ AMR11E - Distinct Primes - SPOJ Solution C++ April 25, 2021 Add Comment ➤ Problem Link : AMR11E 👉 Hint : edit please ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; int pr[100000]; s... Read More
Math Number theory SPOJ CRDS - Cards - SPOJ Solution C++ April 13, 2021 Add Comment ➤ Problem Link : CRDS 👉 Hint : edit please ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; long long int m=1000... Read More
Binary Search Math MKUHAR - Most Servings Meal - SPOJ Solution C++ April 08, 2021 Add Comment ➤ Problem Link : MKUHAR 👉 Hint : edit please ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; #define ll long lo... Read More
Ad Hoc Math SPOJ CRAN02 - Roommate Agreement - SPOJ Solution C++ April 02, 2021 Add Comment ➤ Problem Link : CRAN02 👉 Hint : edit please ✅ C++ Solution : #include <bits/stdc++.h> using namespace std; int main() { int... Read More
Combinatorics Dynamic Programming Math SPOJ ADATEAMS - Ada and Teams - SPOJ Solution C++ April 01, 2021 Add Comment ➤ Problem Link : ADATEAMS 👉 Hint : Find mathematical formula using combinations ✅ C++ Solution : #include<bits/stdc++.h> usin... Read More
Math SPOJ FCTRL - Factorial - SPOJ Solution C++ March 31, 2021 Add Comment ➤ Problem Link : FCTRL 👉 Hint : edit please ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; #define ll long lo... Read More
Binary Search Math SPOJ FACVSPOW - Factorial vs Power - SPOJ Solution C++ March 26, 2021 Add Comment ➤ Problem Link : FACVSPOW 👉 Hint : edit please ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; #define pi 3.14... Read More
Math SPOJ ENIGMATH - PLAY WITH MATH - SPOJ Solution C++ March 26, 2021 Add Comment ➤ Problem Link : ENIGMATH 👉 Hint : Think of relation between LCM and GCD of 2 numbers ✅ C++ Solution : #include<bits/stdc++.h... Read More