Category: HackerEarth

08
Jul
2017

HackerEarth: Batman and Tick-tack-toe

This is a basic implementaation problem but need to think critically and I used editorial + previous solved…

02
Jul
2017

Hackerearth: COUNT NUMBERS

code: #include<bits/stdc++.h> using namespace std; int main() { int t,n,i,a; string s; cin>>t; while(t–) { int c=0;…

02
Jul
2017

Hackerearth: Fredo and Game

code: #include<bits/stdc++.h> using namespace std; int main() { int t,i,a,n; cin>>t; while(t–) { cin>>a>>n; int arr[n]; for(i=0;…

02
Jul
2017

Hackerearth: Little Jhool and psychic powers

code: #include<bits/stdc++.h> using namespace std; int main() { int zz,oo; string S; string z=”000000″; string o=”111111″; cin>>S;…

01
Jul
2017

Hackerearth: Complete the Syllabus

Copied the code from someone’s solutions: #include <stdio.h> int main() { int t; long int n,i,j,k,a[7],sum; char…

14
Jun
2017

Hackerearth – Jarvis and Numbers

code i have understand for last 6 hours: problem statement was little bit clumsy but understood atlast:…