Category: Problem Solution
C++ Code: But it will not work as c++ don’t support BigIntger so we have to write…
code: #include<bits/stdc++.h> using namespace std; int main() { int n; int i,j; long int p; cin>>n>>i>>j>>p; for(int…
code: #include<bits/stdc++.h> using namespace std; const int N=2e5+55; //max range 10^9 int cnt; string str; int main()…
code: #include<bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mp make_pair #define ff…
Vowel count in a string: code: #include<iostream> #include<cstdio> using namespace std; int main() { int a=0,e=0,i=0,o=0,u=0; string…
code that not accepted: #include<bits/stdc++.h> int main() { int i,t,rem,n,near=0,flag; scanf(“%d”,&t); for(i=0; i<t; i++) { scanf(“%d”,&n); rem=n%12…
Recent Comments