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 termi 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 termFind the nth term of G.P first term of G.P is given.... Common ratio is also given... CONSTRAINTS- ...