HackerRank Combinatorics – Journey to Mars

HackerRank Combinatorics – Journey to Mars

Challenge: Journey to Mars Subdomeniu: Combinatorics (combinatorics) Scor cont: 50.0 / 50 Submission status: Accepted Submission score: 1.0 Submission ID: 464733872 Limbaj: cpp14 Link challenge: https://www.hackerrank.com/challenges/ajourney/problem Cerinta Elon Musk has succesfully built an automated staircase from Earth to Mars. Many

HackerRank Combinatorics – Irresponsible Numbers

HackerRank Combinatorics – Irresponsible Numbers

Challenge: Irresponsible Numbers Subdomeniu: Combinatorics (combinatorics) Scor cont: 75.0 / 75 Submission status: Accepted Submission score: 1.0 Submission ID: 464763594 Limbaj: cpp14 Link challenge: https://www.hackerrank.com/challenges/irresponsible-numbers/problem Cerinta A number, $x$, is called *irresponsible* when adding $x$ to $x+1$ requires a *[carry](https://en.wikipedia.org/wiki/Carry_(arithmetic))*

HackerRank Combinatorics – Insane DFS

HackerRank Combinatorics – Insane DFS

Challenge: Insane DFS Subdomeniu: Combinatorics (combinatorics) Scor cont: 150.0 / 150 Submission status: Accepted Submission score: 1.0 Submission ID: 464775810 Limbaj: python3 Link challenge: https://www.hackerrank.com/challenges/insane-dfs/problem Cerinta Imagine you have a rooted tree consisting of $n$ vertices. Consider the following function:

HackerRank Combinatorics – Ichigo and Revenge

HackerRank Combinatorics – Ichigo and Revenge

Challenge: Ichigo and Revenge Subdomeniu: Combinatorics (combinatorics) Scor cont: 120.0 / 120 Submission status: Accepted Submission score: 1.0 Submission ID: 464735933 Limbaj: cpp14 Link challenge: https://www.hackerrank.com/challenges/ichigo-and-revenge/problem Cerinta Grimmjow is not dead. He comes back to take revenge from Ichigo. This

HackerRank Combinatorics – How Many Trees?

HackerRank Combinatorics – How Many Trees?

Challenge: How Many Trees? Subdomeniu: Combinatorics (combinatorics) Scor cont: 100.0 / 100 Submission status: Accepted Submission score: 1.0 Submission ID: 464817523 Limbaj: cpp14 Link challenge: https://www.hackerrank.com/challenges/how-many-trees/problem Cerinta You are given two integers $N$ and $L$. Compute the number of unrooted

HackerRank Combinatorics – Highway Construction

HackerRank Combinatorics – Highway Construction

Challenge: Highway Construction Subdomeniu: Combinatorics (combinatorics) Scor cont: 75.0 / 75 Submission status: Accepted Submission score: 1.0 Submission ID: 464762397 Limbaj: cpp14 Link challenge: https://www.hackerrank.com/challenges/highway-construction/problem Cerinta You are planning the next FIFA World Cup and you are counting the number

HackerRank Combinatorics – Grid Lines

HackerRank Combinatorics – Grid Lines

Challenge: Grid Lines Subdomeniu: Combinatorics (combinatorics) Scor cont: 80.0 / 80 Submission status: Accepted Submission score: 1.0 Submission ID: 464737194 Limbaj: cpp14 Link challenge: https://www.hackerrank.com/challenges/grid-lines/problem Cerinta In an NxM grid with each cell's dimension being 1×1, there will be (N+1)

HackerRank Combinatorics – Game Of Thrones – II

HackerRank Combinatorics – Game Of Thrones – II

Challenge: Game Of Thrones – II Subdomeniu: Combinatorics (combinatorics) Scor cont: 50.0 / 50 Submission status: Accepted Submission score: 1.0 Submission ID: 464734608 Limbaj: java8 Link challenge: https://www.hackerrank.com/challenges/game-of-throne-ii/problem Cerinta This follows from [Game of Thrones – I](https://www.hackerrank.com/contests/july13/challenges/game-of-thrones). Now that the

HackerRank Combinatorics – Farmer

HackerRank Combinatorics – Farmer

Challenge: Farmer Subdomeniu: Combinatorics (combinatorics) Scor cont: 80.0 / 80 Submission status: Accepted Submission score: 1.0 Submission ID: 464763378 Limbaj: cpp14 Link challenge: https://www.hackerrank.com/challenges/demidenko-farmer/problem Cerinta The farmer decided to build a barn on his farm. But on his farm there