Knowee
Questions
Features
Study Tools

our password cracking abilities were greatly appreciated by Chhota Bheem. Just as he wasabout to induct you into his team, he got a call from his friend Perry the Platypus. This was quitealarming, because Perry hardly speaks - a phone call is only in emergency situations.Perry has an important password to crack. Unfortunately, his arch-enemy has hidden thispassword in a 2D grid of size N x N:These are the instructions given to you by Perry:1. The highlighted parts above are the generators. The rest of the grid is not useful, onlythe generators are. The generators are found by starting from bottom left corner, movingto middle of first row and then going to the bottom right corner again. All the whileskipping one element. Refer to above image.2. Thus, you will have N generators3. You have to collect the N generators, and form a string. Each generator corresponds toan alphabet4. The alphabet is obtained by from each generator. The number 1 corresponds to a, 2 to band so on...5. If we get a number above 26, we will start assigning from a again. So 27 becomes a, 28is b and so on...6. Combine the each of the alphabets and the resultant is your answerThus, in the above case, we get the following N generators:13 10 23 18 44 22 2, which translate into: mjwrrvbExplanation: 13 -> m, 10 -> j, 23 -> w, 18 -> r, 44 -> 18 -> r,22 -> v, 2 -> bGiven an N and a grid, you must help Perry find the password.Note: N is always odd and greater than 1. All numbers in the grid are greater than 0.Input formatThe first line contains T, the number of test cases. Following T lines contain:N and N, the size of the 2D grid. This is followed by N x N numbers in a single lineOutput formatPrint each password in a single lineExample Input23 3 16 13 4 16 13 19 23 8 117 7 26 28 5 18 27 32 50 13 42 32 11 5 40 27 16 34 23 49 44 17 36 48 10 46 20 13 43 36 1 1019 29 23 22 20 49 35 15 41 7 29 34 13 23 45 50 31 8 2Example OutputwmkmjwrrvbExplanation:The first case forms this grid:16 13 416 13 1923 8 11Generators are 23 13 11 -> wmk

Question

our password cracking abilities were greatly appreciated by Chhota Bheem. Just as he wasabout to induct you into his team, he got a call from his friend Perry the Platypus. This was quitealarming, because Perry hardly speaks - a phone call is only in emergency situations.Perry has an important password to crack. Unfortunately, his arch-enemy has hidden thispassword in a 2D grid of size N x N:These are the instructions given to you by Perry:1. The highlighted parts above are the generators. The rest of the grid is not useful, onlythe generators are. The generators are found by starting from bottom left corner, movingto middle of first row and then going to the bottom right corner again. All the whileskipping one element. Refer to above image.2. Thus, you will have N generators3. You have to collect the N generators, and form a string. Each generator corresponds toan alphabet4. The alphabet is obtained by from each generator. The number 1 corresponds to a, 2 to band so on...5. If we get a number above 26, we will start assigning from a again. So 27 becomes a, 28is b and so on...6. Combine the each of the alphabets and the resultant is your answerThus, in the above case, we get the following N generators:13 10 23 18 44 22 2, which translate into: mjwrrvbExplanation: 13 -> m, 10 -> j, 23 -> w, 18 -> r, 44 -> 18 -> r,22 -> v, 2 -> bGiven an N and a grid, you must help Perry find the password.Note: N is always odd and greater than 1. All numbers in the grid are greater than 0.Input formatThe first line contains T, the number of test cases. Following T lines contain:N and N, the size of the 2D grid. This is followed by N x N numbers in a single lineOutput formatPrint each password in a single lineExample Input23 3 16 13 4 16 13 19 23 8 117 7 26 28 5 18 27 32 50 13 42 32 11 5 40 27 16 34 23 49 44 17 36 48 10 46 20 13 43 36 1 1019 29 23 22 20 49 35 15 41 7 29 34 13 23 45 50 31 8 2Example OutputwmkmjwrrvbExplanation:The first case forms this grid:16 13 416 13 1923 8 11Generators are 23 13 11 -> wmk

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

To find the password, we need to follow the given instructions step by step:

  1. Start from the bottom left corner of the grid and move to the middle of the first row.
  2. From there, go to the bottom right corner of the grid, skipping one element each time.
  3. Collect the N generators, which are the highlighted parts in the grid.
  4. Each generator corresponds to an alphabet, starting from 'a' for 1, 'b' for 2, and so on.
  5. If the number is above 26, we start assigning alphabets from 'a' again. For example, 27 becomes 'a', 28 becomes 'b', and so on.
  6. Combine each of the alphabets obtained from the generators to form the password.

Let's apply these steps to the given example:

Grid: 16 13 4 16 13 19 23 8 11

Generators: 23 13 11

Alphabets: w m k

Therefore, the password is "wmk".

This problem has been solved

Similar Questions

A network administrator is conducting a training session to office staff on how to create a strong and effective password. Which password would most likely take the longest for a malicious user to guess or break?Select one:drninjaphd10charactersmk$$cittykat104#super3secret2password1

What is a default kali linux tool to crack a password

A programme that generates passwords using the commonly used word, number, and character combinations. To test those combinations, it relies on raw computing power.Select one:Traffic interceptionMan in the middlePhishingBrute force attack

• An organization suspects that an employee's password has been compromised. Which tool can theyuse to attempt password recovery?• John The Ripper• Hydra• Rainbow Table Cracking• Cracking Office Files

______ password cracking technique uses hashed password technique

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.