Category: HackerEarth
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…
code: #include<stdio.h> #include<math.h> int main() { int n,A[100005],i; long long int answer=1; //it should not be int…
#include<iostream> using namespace std; int main(){ long long int n,tr, ary1[100000],ary2[100000],d; cin>>n; for(int i=0; i<n; i++){ cin>>ary1[i];…
Recent Comments