Category Archives: Problem Solution

HackerEarth: Batman and Tick-tack-toe

This is a basic implementaation problem but need to think critically and I used editorial + previous solved code to understand the logic

code:

 

Hackerearth: COUNT NUMBERS

code:

 

Hackerearth: Fredo and Game

code:

 

 

Hackerearth: Little Jhool and psychic powers

code:

another solution of mine:

 

 

Hackerearth: Complete the Syllabus

Copied the code from someone’s solutions:

code from editorial:

 

Hackerearth – Jarvis and Numbers

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

accepted code took help from editorial:

official editorial:

 

Codeforces: A. Next Round

My code: didn’t passed all testcase:

Then looked out the solution but din’t understand one thing but implemented my own:

http://itisadumbblog.blogspot.com/2015/05/codeforces-158a-next-round-solution.html

https://tausiq.wordpress.com/2014/07/13/cf-158a-next-round/