home.social

#noxp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #noxp, aggregated by home.social.

  1. @PerlWChallenge 375 Single Common Word and Find K-Beauty wlmb.github.io/2026/05/26/PWC3

  2. CW: Solution to PWC 375 T2

    @PerlWChallenge 375 Task 2: Find K-Beauty

    ```
    perl -E '
    for my($n, $k)(@ARGV){say"num=$n k=$k -> ", 0+grep{$n%$_==0}$n=~/(?=(\d{$k}))/g;}
    ' 240 2 1020 2 444 2 17 2 123 1
    ```

  3. CW: Solution to PWC 375 T2

    #Perl @PerlWChallenge 375 Task 2: Find K-Beauty
    #noxp
    ```
    perl -E '
    for my($n, $k)(@ARGV){say"num=$n k=$k -> ", 0+grep{$n%$_==0}$n=~/(?=(\d{$k}))/g;}
    ' 240 2 1020 2 444 2 17 2 123 1
    ```

  4. CW: Solution to PWC 375 T2

    #Perl @PerlWChallenge 375 Task 2: Find K-Beauty
    #noxp
    ```
    perl -E '
    for my($n, $k)(@ARGV){say"num=$n k=$k -> ", 0+grep{$n%$_==0}$n=~/(?=(\d{$k}))/g;}
    ' 240 2 1020 2 444 2 17 2 123 1
    ```

  5. CW: Solution to PWC 375 T2

    #Perl @PerlWChallenge 375 Task 2: Find K-Beauty
    #noxp
    ```
    perl -E '
    for my($n, $k)(@ARGV){say"num=$n k=$k -> ", 0+grep{$n%$_==0}$n=~/(?=(\d{$k}))/g;}
    ' 240 2 1020 2 444 2 17 2 123 1
    ```

  6. CW: Solution to PWC 375 T2

    #Perl @PerlWChallenge 375 Task 2: Find K-Beauty
    #noxp
    ```
    perl -E '
    for my($n, $k)(@ARGV){say"num=$n k=$k -> ", 0+grep{$n%$_==0}$n=~/(?=(\d{$k}))/g;}
    ' 240 2 1020 2 444 2 17 2 123 1
    ```

  7. CW: Solution to PWC375T1

    @PerlWChallenge 375 Task 1: Single Common Word

    ```
    perl -E '
    for my($x,$y)(@ARGV){my(%c,%d);$c{$_}++for split" ",$x;$d{$_}++for
    split" ",$y;say"\"$x\", \"$y\" -> ",0+grep{$c{$_}==$d{$_}==1}keys%c;}
    ' "apple banana cherry" "banana cherry date" "a ab abc" "a a ab abc" \
    "orange lemon" "grape melon" "test test demo" "test demo demo" \
    "Hello world" "hello world"
    ```

  8. CW: Solution to PWC375T1

    #Perl @PerlWChallenge 375 Task 1: Single Common Word
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){my(%c,%d);$c{$_}++for split" ",$x;$d{$_}++for
    split" ",$y;say"\"$x\", \"$y\" -> ",0+grep{$c{$_}==$d{$_}==1}keys%c;}
    ' "apple banana cherry" "banana cherry date" "a ab abc" "a a ab abc" \
    "orange lemon" "grape melon" "test test demo" "test demo demo" \
    "Hello world" "hello world"
    ```

  9. CW: Solution to PWC375T1

    #Perl @PerlWChallenge 375 Task 1: Single Common Word
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){my(%c,%d);$c{$_}++for split" ",$x;$d{$_}++for
    split" ",$y;say"\"$x\", \"$y\" -> ",0+grep{$c{$_}==$d{$_}==1}keys%c;}
    ' "apple banana cherry" "banana cherry date" "a ab abc" "a a ab abc" \
    "orange lemon" "grape melon" "test test demo" "test demo demo" \
    "Hello world" "hello world"
    ```

  10. CW: Solution to PWC375T1

    #Perl @PerlWChallenge 375 Task 1: Single Common Word
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){my(%c,%d);$c{$_}++for split" ",$x;$d{$_}++for
    split" ",$y;say"\"$x\", \"$y\" -> ",0+grep{$c{$_}==$d{$_}==1}keys%c;}
    ' "apple banana cherry" "banana cherry date" "a ab abc" "a a ab abc" \
    "orange lemon" "grape melon" "test test demo" "test demo demo" \
    "Hello world" "hello world"
    ```

  11. CW: Solution to PWC375T1

    #Perl @PerlWChallenge 375 Task 1: Single Common Word
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){my(%c,%d);$c{$_}++for split" ",$x;$d{$_}++for
    split" ",$y;say"\"$x\", \"$y\" -> ",0+grep{$c{$_}==$d{$_}==1}keys%c;}
    ' "apple banana cherry" "banana cherry date" "a ab abc" "a a ab abc" \
    "orange lemon" "grape melon" "test test demo" "test demo demo" \
    "Hello world" "hello world"
    ```

  12. @PerlWChallenge 374 Count Vowel and Largest Same-digits Number wlmb.github.io/2026/05/22/PWC3

  13. #Perl @PerlWChallenge 374 Count Vowel and Largest Same-digits Number wlmb.github.io/2026/05/22/PWC3
    #noxp

  14. #Perl @PerlWChallenge 374 Count Vowel and Largest Same-digits Number wlmb.github.io/2026/05/22/PWC3
    #noxp

  15. #Perl @PerlWChallenge 374 Count Vowel and Largest Same-digits Number wlmb.github.io/2026/05/22/PWC3
    #noxp

  16. #Perl @PerlWChallenge 374 Count Vowel and Largest Same-digits Number wlmb.github.io/2026/05/22/PWC3
    #noxp

  17. CW: Perl Weekly Challenge 374T2

    @PerlWChallenge 374 Task 2: Largest Same-digits Number

    ```
    perl -MList::Util=max -E '
    say "$_ -> ", max /((\d)\2*)/g for(@ARGV);
    ' 6777133339 1200034 44221155 88888 11122233
    ```

  18. CW: Perl Weekly Challenge 374T2

    #Perl @PerlWChallenge 374 Task 2: Largest Same-digits Number
    #noxp
    ```
    perl -MList::Util=max -E '
    say "$_ -> ", max /((\d)\2*)/g for(@ARGV);
    ' 6777133339 1200034 44221155 88888 11122233
    ```

  19. CW: Perl Weekly Challenge 374T2

    #Perl @PerlWChallenge 374 Task 2: Largest Same-digits Number
    #noxp
    ```
    perl -MList::Util=max -E '
    say "$_ -> ", max /((\d)\2*)/g for(@ARGV);
    ' 6777133339 1200034 44221155 88888 11122233
    ```

  20. CW: Perl Weekly Challenge 374T2

    #Perl @PerlWChallenge 374 Task 2: Largest Same-digits Number
    #noxp
    ```
    perl -MList::Util=max -E '
    say "$_ -> ", max /((\d)\2*)/g for(@ARGV);
    ' 6777133339 1200034 44221155 88888 11122233
    ```

  21. CW: Perl Weekly Challenge 374T2

    #Perl @PerlWChallenge 374 Task 2: Largest Same-digits Number
    #noxp
    ```
    perl -MList::Util=max -E '
    say "$_ -> ", max /((\d)\2*)/g for(@ARGV);
    ' 6777133339 1200034 44221155 88888 11122233
    ```

  22. CW: Perl Weekly Challenge 374T1

    @PerlWChallenge 374 Task 1: Count Vowel

    ```
    perl -E '
    sub t($x){$x=~/$_/||return 0 for(split "","aeiou");1}for(@ARGV){my@r;for my$i(/([aeiou]+)/g)
    {$l=length$i;for(0..$l){t $r=substr$i,$_ or last;push @r,$r;for(1..$l){t $s=substr$r,0,-$_ or
    last;push@r,$s}}}say"$_ -> (@r)";}
    ' aeiou aaeeeiioouu aeiouuaxaeiou uaeiou aeioaeioa
    ```

  23. CW: Perl Weekly Challenge 374T1

    #Perl @PerlWChallenge 374 Task 1: Count Vowel
    #noxp
    ```
    perl -E '
    sub t($x){$x=~/$_/||return 0 for(split "","aeiou");1}for(@ARGV){my@r;for my$i(/([aeiou]+)/g)
    {$l=length$i;for(0..$l){t $r=substr$i,$_ or last;push @r,$r;for(1..$l){t $s=substr$r,0,-$_ or
    last;push@r,$s}}}say"$_ -> (@r)";}
    ' aeiou aaeeeiioouu aeiouuaxaeiou uaeiou aeioaeioa
    ```

  24. CW: Perl Weekly Challenge 374T1

    #Perl @PerlWChallenge 374 Task 1: Count Vowel
    #noxp
    ```
    perl -E '
    sub t($x){$x=~/$_/||return 0 for(split "","aeiou");1}for(@ARGV){my@r;for my$i(/([aeiou]+)/g)
    {$l=length$i;for(0..$l){t $r=substr$i,$_ or last;push @r,$r;for(1..$l){t $s=substr$r,0,-$_ or
    last;push@r,$s}}}say"$_ -> (@r)";}
    ' aeiou aaeeeiioouu aeiouuaxaeiou uaeiou aeioaeioa
    ```

  25. CW: Perl Weekly Challenge 374T1

    #Perl @PerlWChallenge 374 Task 1: Count Vowel
    #noxp
    ```
    perl -E '
    sub t($x){$x=~/$_/||return 0 for(split "","aeiou");1}for(@ARGV){my@r;for my$i(/([aeiou]+)/g)
    {$l=length$i;for(0..$l){t $r=substr$i,$_ or last;push @r,$r;for(1..$l){t $s=substr$r,0,-$_ or
    last;push@r,$s}}}say"$_ -> (@r)";}
    ' aeiou aaeeeiioouu aeiouuaxaeiou uaeiou aeioaeioa
    ```

  26. CW: Perl Weekly Challenge 374T1

    #Perl @PerlWChallenge 374 Task 1: Count Vowel
    #noxp
    ```
    perl -E '
    sub t($x){$x=~/$_/||return 0 for(split "","aeiou");1}for(@ARGV){my@r;for my$i(/([aeiou]+)/g)
    {$l=length$i;for(0..$l){t $r=substr$i,$_ or last;push @r,$r;for(1..$l){t $s=substr$r,0,-$_ or
    last;push@r,$s}}}say"$_ -> (@r)";}
    ' aeiou aaeeeiioouu aeiouuaxaeiou uaeiou aeioaeioa
    ```

  27. @PerlWChallenge 373 Equal List and List Division wlmb.github.io/2026/05/11/PWC3

  28. CW: Perl Weekly Challenge 373T2

    @PerlWChallenge 373 Task 2: List Division

    ```
    perl -E '
    for my($l,$n)(@ARGV){$s=(@L=split" ",$l)/$n; $r=@l%$n;say "$l, $n -> ",
    $n>@L?-1:map{"(".join(" ",splice(@L,0,$s+($_<=$r))).")"}(1..$n)}
    ' "1 2 3 4 5" 2 "1 2 3 4 5 6" 3 "1 2 3" 2 "1 2 3 4 5 6 7 8 9 10" 5 \
    "1 2 3" 4 "72 57 89 55 36 84 10 95 99 35" 7
    ```

  29. CW: Perl Weekly Challenge 373T2

    #Perl @PerlWChallenge 373 Task 2: List Division
    #noxp
    ```
    perl -E '
    for my($l,$n)(@ARGV){$s=(@L=split" ",$l)/$n; $r=@l%$n;say "$l, $n -> ",
    $n>@L?-1:map{"(".join(" ",splice(@L,0,$s+($_<=$r))).")"}(1..$n)}
    ' "1 2 3 4 5" 2 "1 2 3 4 5 6" 3 "1 2 3" 2 "1 2 3 4 5 6 7 8 9 10" 5 \
    "1 2 3" 4 "72 57 89 55 36 84 10 95 99 35" 7
    ```

  30. CW: Perl Weekly Challenge 373T2

    #Perl @PerlWChallenge 373 Task 2: List Division
    #noxp
    ```
    perl -E '
    for my($l,$n)(@ARGV){$s=(@L=split" ",$l)/$n; $r=@l%$n;say "$l, $n -> ",
    $n>@L?-1:map{"(".join(" ",splice(@L,0,$s+($_<=$r))).")"}(1..$n)}
    ' "1 2 3 4 5" 2 "1 2 3 4 5 6" 3 "1 2 3" 2 "1 2 3 4 5 6 7 8 9 10" 5 \
    "1 2 3" 4 "72 57 89 55 36 84 10 95 99 35" 7
    ```

  31. CW: Perl Weekly Challenge 373T2

    #Perl @PerlWChallenge 373 Task 2: List Division
    #noxp
    ```
    perl -E '
    for my($l,$n)(@ARGV){$s=(@L=split" ",$l)/$n; $r=@l%$n;say "$l, $n -> ",
    $n>@L?-1:map{"(".join(" ",splice(@L,0,$s+($_<=$r))).")"}(1..$n)}
    ' "1 2 3 4 5" 2 "1 2 3 4 5 6" 3 "1 2 3" 2 "1 2 3 4 5 6 7 8 9 10" 5 \
    "1 2 3" 4 "72 57 89 55 36 84 10 95 99 35" 7
    ```

  32. CW: Perl Weekly Challenge 373T2

    #Perl @PerlWChallenge 373 Task 2: List Division
    #noxp
    ```
    perl -E '
    for my($l,$n)(@ARGV){$s=(@L=split" ",$l)/$n; $r=@l%$n;say "$l, $n -> ",
    $n>@L?-1:map{"(".join(" ",splice(@L,0,$s+($_<=$r))).")"}(1..$n)}
    ' "1 2 3 4 5" 2 "1 2 3 4 5 6" 3 "1 2 3" 2 "1 2 3 4 5 6 7 8 9 10" 5 \
    "1 2 3" 4 "72 57 89 55 36 84 10 95 99 35" 7
    ```

  33. CW: Perl Weekly Challenge 373T1

    @PerlWChallenge 373 Task 1: Equal List

    ```
    perl -E '
    for my($x,$y)(@ARGV){say"$x; $y -> ",f($x)eq f($y)?"T":"F";}sub f($x){join"",split/\s*,\s*/,$x}
    ' "a, bc" "ab, c" "a, b, c" "a, bc" "a, bc" "a, c, b" "ab, c, " ", a, bc" "p, e, r, l" "perl"
    ```

  34. CW: Perl Weekly Challenge 373T1

    #Perl @PerlWChallenge 373 Task 1: Equal List
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){say"$x; $y -> ",f($x)eq f($y)?"T":"F";}sub f($x){join"",split/\s*,\s*/,$x}
    ' "a, bc" "ab, c" "a, b, c" "a, bc" "a, bc" "a, c, b" "ab, c, " ", a, bc" "p, e, r, l" "perl"
    ```

  35. CW: Perl Weekly Challenge 373T1

    #Perl @PerlWChallenge 373 Task 1: Equal List
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){say"$x; $y -> ",f($x)eq f($y)?"T":"F";}sub f($x){join"",split/\s*,\s*/,$x}
    ' "a, bc" "ab, c" "a, b, c" "a, bc" "a, bc" "a, c, b" "ab, c, " ", a, bc" "p, e, r, l" "perl"
    ```

  36. CW: Perl Weekly Challenge 373T1

    #Perl @PerlWChallenge 373 Task 1: Equal List
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){say"$x; $y -> ",f($x)eq f($y)?"T":"F";}sub f($x){join"",split/\s*,\s*/,$x}
    ' "a, bc" "ab, c" "a, b, c" "a, bc" "a, bc" "a, c, b" "ab, c, " ", a, bc" "p, e, r, l" "perl"
    ```

  37. CW: Perl Weekly Challenge 373T1

    #Perl @PerlWChallenge 373 Task 1: Equal List
    #noxp
    ```
    perl -E '
    for my($x,$y)(@ARGV){say"$x; $y -> ",f($x)eq f($y)?"T":"F";}sub f($x){join"",split/\s*,\s*/,$x}
    ' "a, bc" "ab, c" "a, b, c" "a, bc" "a, bc" "a, c, b" "ab, c, " ", a, bc" "p, e, r, l" "perl"
    ```

  38. @PerlWChallenge 372 Rearrange Spaces and Largest Substring wlmb.github.io/2026/05/04/PWC3