Problem 42780. GJam March 2016 IOW: Password Single
This Challenge is derived from GJam March 2016 Annual I/O for Password Security. This is the small-1 case of only a single password
The GJam story goes that a random block set A:Z exists to the child of a paranoid corporate president. He is worried that his password(s) may exist in the block pattern. Produce a 26 character block sequence that does not contain his password. If no sequence can be made that does not contain his strong password output 'IMPOSSIBLE'.
Input: [PW], string of 1 to 26 characters
Output: [Pstr], string containing A:Z with no instance of PW or 'IMPOSSIBLE'
Examples: [PW] [Pstr]
[X] [IMPOSSIBLE] [QQ][ABCDEFGHIJKLMNOPQRSTUVWXYZ]
Google Code Jam 2016 Open Qualifier: April 8, 2016
Theory: Single password case is a three liner.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
Read a column of numbers and interpolate missing data
2333 Solvers
-
Flip the main diagonal of a matrix
876 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
239 Solvers
-
262 Solvers
-
poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
181 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!