User profile: cc046

User info
User name:cc046
Name:apg
Location:bihar
History
Joined:
Number of posts:17
Latest posts:

Help
#include <bits/stdc++.h> #define ll long long using namespace std; int main() { ll tc,length,count,...

Help
only 1 condition exists... for(ll i=0;i<n;i++) { if(s[i]=='P') { ...

Geometric Progression Nth term
i got it..... ll square(ll n) { return n*n; } ll power(ll a,ll b,ll m) { if (b== 0) retur...

Geometric Progression Nth term
@dutch i just want approach not a full code

Geometric Progression Nth term
Find the nth term of G.P first term of G.P is given.... Common ratio is also given... CONSTRAINTS- ...