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/

Print Hackerearth

I am implementing the solution after seeing the code:

 

Hackerearth : Digit Problem

code:

 

10579 Fibonacci Numbers

code:

 

Hackerearth Min-Max

code:

partially accepted code with vector:

 

10523 – Very Easy !!!

C++ Code:
But it will not work as c++ don’t support BigIntger so we have to write it in java my code:

Java:

 

 

HAckerearth – HAWKEYE AND FLOODFILL ⇾⚄ (EASY)

code:

another code:

 

 

 

Digit Hackerearth

code:

 

Stevie Hackerearth

code: