7 added 229 characters in body

³‘X’¤þṂƤ€Z$⁺ṄS⁺  Try it online! I made a terrible mistake. No idea why no-one noticed that. Full program. Prints the array and the sum. Not uniform, of course. Return all-zero most of the time. # Jelly, 16 bytes ³‘X’¤þṂƤ€Z$⁺ṄS⁺


Try it online!

I made a terrible mistake. No idea why no-one noticed that.

Full program. Prints the array and the sum.

Not uniform, of course. Return all-zero most of the time.

³‘X’¤þṂƤ€Z$⁺ṄS⁺  Try it online! I made a terrible mistake. No idea why no-one noticed that. Full program. Prints the array and the sum. Not uniform, of course. Return all-zero most of the time. 6 deleted 9 characters in body # Jelly, 16 bytes ⁸‘X’¤þṂƤ€Z$⁺ṄS⁺³‘X’¤þṂƤ€Z$⁺ṄS⁺  Sorry, I forgot the "and the sum" part..I made a terrible mistake. Fixed now at +3 bytesNo idea why no-one noticed that. Full program. Prints the array and the sum. Not uniform, of course. Return all-zero most of the time. # Jelly, 16 bytes ⁸‘X’¤þṂƤ€Z$⁺ṄS⁺


Try it online!

Sorry, I forgot the "and the sum" part... Fixed now at +3 bytes.

Full program. Prints the array and the sum.

Not uniform, of course. Return all-zero most of the time.

³‘X’¤þṂƤ€Z$⁺ṄS⁺  Try it online! I made a terrible mistake. No idea why no-one noticed that. Full program. Prints the array and the sum. Not uniform, of course. Return all-zero most of the time. 5 The ⁸ was for the nilad. # Jelly, 16 bytes ⁸‘X’¤þṂƤ€Z$⁺ṄS⁺


Try it online!

Sorry, I forgot the "and the sum" part... Fixed now at +3 bytes.

Full program. Prints the array and the sum.

Not uniform, of course. Return all-zero most of the time.

⁸‘X’¤þṂƤ€Z$⁺ṄS⁺  Try it online! Sorry, I forgot the "and the sum" part... Fixed now at +3 bytes. Full program. Prints the array and the sum. Not uniform, of course. Return all-zero most of the time. # Jelly, 16 bytes ⁸‘X’¤þṂƤ€Z$⁺ṄS⁺


Try it online!

Sorry, I forgot the "and the sum" part... Fixed now at +3 bytes.

Full program. Prints the array and the sum.

Not uniform, of course. Return all-zero most of the time.

4 Rollback to Revision 2
3 added 47 characters in body
2 added 131 characters in body
1