Category: Problem 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;…
code: #include<stdio.h> #include<math.h> int main() { int n,A[100005],i; long long int answer=1; //it should not be int…
code: 1<=N<=10^5 1<=A[i]<=10^9 1<=M<=10^9 Source: https://www.facebook.com/groups/bengaliprogramming/permalink/717276125110930/
code: 1<=N<=10^5 1<=A[i]<=10^9 1<=M<=10^9 Source: https://www.facebook.com/groups/bengaliprogramming/permalink/717276125110930/
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…
Recent Comments