# Search Results

Results tagged with Search options user 41723
54 results

Challenges related to elementary arithmetic.

Brachylog, 8 bytes ,3:.^-?, Try it online! Outputs the value if true and false. if this is impossible. Explanation This is a direct transcription of the given relation: , , (Disable im …
answered Jan 6 '17 by Fatalize
Brachylog, 17 bytes ,.#>=g:?z:%a#=h0, Try it online! Explanation ,.#>= Output is a strictly positive integer g:?z Zip the Output with the Input :%a Co …
answered Sep 30 '16 by Fatalize
Brachylog, 7 bytes @c$)@[- Try it online! Explanation @c Convert "Hello World!" to [72,101,108,108,111,32,87,111,114,108,100,33]$) Circular permute right: [33,72,101,108,108,111,32 …
answered Sep 26 '16 by Fatalize
Brachylog, 7 bytes >,1|>=, Try it online! This prints 1 for strictly decreasing, 0 for non-increasing and false. otherwise. Explanation (?)> Input is a strictly decreasing list …
answered Nov 25 '16 by Fatalize
Brachylog, 21 bytes :3jo@4brbcLl/N,L+:N*. Try it online! or verify multiple test cases Explanation This is basically @LeakyNun's Pyth answer algorithm. :3j Append 3 copies of the input to i …
answered Jul 24 '16 by Fatalize
Brachylog, 2 bytes %0 Try it online!
answered Jul 21 '16 by Fatalize
Brachylog, 27 bytes .v|h~l(A:Tc?;A?)b:0&~b.h~+A Try it online! or verify all test cases. Explanation .v Input = Output = [] | Or h~l A is a list, its length is t …
answered Jul 22 '16 by Fatalize
Brachylog, 68 bytes hI,?bL,1:+:-:*:/:^b:L:I{bhv?t.|[O:L:I]h\$(P,LbM,OhA,Lh:Ir:A&:M:Pr&.}. That's long… but it uses no evaluation predicate. Explanation Main predicate hI, …
answered Jun 13 '16 by Fatalize
Brachylog, 13 bytes ~c@e:{<+}a!#= Try it online! Explanation ~c Find a list of integers which when concatenated result in the Input @e Split the integers into lists of …
answered Sep 30 '16 by Fatalize

15 30 50 per page