Category: HackerEarth
I am implementing the solution after seeing the code: #include<iostream> #include<bits/stdc++.h> using namespace std; int main() {…
code: #include<bits/stdc++.h> using namespace std; int main() { char x[1000]; int k; scanf(“%s %d”,x,&k); for(int i=0; i<k;…
code: #include<iostream> #include<cstdio> using namespace std; int main() { int n,flag=0; cin>>n; int a[n]; for(int i=0; i<n;…
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…
Recent Comments