Adding 2016 start using Rust.

This commit is contained in:
Dan Chadwick
2024-11-26 12:43:54 -05:00
parent 4cad47d04e
commit d16a32477b
409 changed files with 974 additions and 4 deletions

View File

@@ -43,10 +43,8 @@ function checkNice2(string $string): bool {
if ($count >= 2) {
$is_nice = TRUE;
preg_match_all('/(.)(.)\1/', $string, $matches);
if (count($matches[0]) > 1) {
$is_nice = TRUE;
}
else {
var_dump($matches);
if (count($matches[0]) < 1) {
$is_nice = FALSE;
}
}