Category: Problem Solution

01
Jun
2017

HackerEarth: Prime Number

code:

14
May
2017

DCP-4: Great!!! The Work Is Done Solution

code i tried  around 5 of hours but didn’t succeded: #include<stdio.h> #include<math.h> int main() { int t,n,i,result,p,sum=0;…

07
May
2017

Hackerearth: Find Product

code: #include<stdio.h> #include<math.h> int main() { int n,A[100005],i; long long int answer=1; //it should not be int…

05
May
2017

How to take limited constraint 1

code: 1<=N<=10^5 1<=A[i]<=10^9 1<=M<=10^9 Source: https://www.facebook.com/groups/bengaliprogramming/permalink/717276125110930/

05
May
2017

How to take limited constraint 1<=A[i]<=10^9 Array in C/C++ code for OJs

code: 1<=N<=10^5 1<=A[i]<=10^9 1<=M<=10^9 Source: https://www.facebook.com/groups/bengaliprogramming/permalink/717276125110930/

07
Apr
2017

Prime or Not

Another easy understandable tut is in this link: http://zakilive.com/2017/05/12/check-the-number-is-prime-or-not-in-c-easy-and-details-explanation/ Code: #include<stdio.h> int main() { int i,flag,N; flag=0; printf(“eNter…