CISCO EXAM HELP | CISCO TEST HELP
Open in Telegram
5 852
Subscribers
-324 hours
+77 days
+10930 days
Posts Archive
If you need help in any OA(coding round) in any company DM @codemaster07
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pll pair<ll,ll>
#define vll vector<ll>
#define vvll vector<vll>
#define vpll vector<pll>
#define pb push_back
#define f(i,a,n) for(long long int i=a;i<n;i++)
#define inf 1e9
#define w(t) int t; cin>>t; f(case_num,1,t+1)
#define all(x) x.begin(),x.end()
#define ff first
#define ss second
int main()
{
w(t)
{
string s;
cin>>s;
int ct=0;
f(i,0,s.size()-1)
{
if(s[i]=='i'&&s[i+1]=='t')
{
ct++;
}
}
if(ct)
{
cout<<"YES"<<endl;
}
else
{
cout<<"NO"<<endl;
}
}
}
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pll pair<ll,ll>
#define vll vector<ll>
#define vvll vector<vll>
#define vpll vector<pll>
#define pb push_back
#define f(i,a,n) for(long long int i=a;i<n;i++)
#define inf 1e9
#define w(t) int t; cin>>t; f(case_num,1,t+1)
#define all(x) x.begin(),x.end()
#define ff first
#define ss second
int main()
{
cout<<"safety"<<endl;
}
If you need help in any OA(coding round) in any company DM @codemaster07
