Description Usage Arguments Details Examples
View source: R/04-secure-container.R
Find password with following rules:
1 | secure_container(min, max = min, no_large_group = FALSE)
|
min, max |
range of password |
no_large_group |
- It is a six-digit number. - The value is within the range given in your puzzle input. - Two adjacent digits are the same (like 22 in 122345). - Going from left to right, the digits never decrease; they only ever increase or stay the same (like 111123 or 135679).
If no_large_group is defined, the two adjacent matching digits are not part of a larger group of matching digits.
1 2 | secure_container(245318, 765747)
secure_container(245318, 765747, no_large_group = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.