[Question]
  [
This is a simple challenge:
Given a sequence of integers, find the sum of all integers in it.
But with a twist.
Your score is the [Levenshtein distance](https://en.wikipedia.org/wiki/Levenshtein_distance) between your code and the following phrase (The challenge):
> 
> Given a set of integers, find the sum of all integers in it.
> 
> 
> 
You may assume there are no newlines or trailing spaces in the input.
**Example input/output:**
```
Input: 1 5 -6 2 4 5
Output: 11
Input: 1 -2 10
Output: 9
```
An online calculator for Levenshtein distance can be found here: <http://planetcalc.com/1721/>
  
[Answer]
## Python, distance 3
```
#Given a set of integers, find the 
sum#of all integers in it.
```
This gives the built-in function `sum`, which can sum a set like `sum({3,5,7})==17`. The remaining parts are commented. This has distance 3, with 3 edits:
* Add the initial `#`
* Add a newline
* Replace the space after `sum` with `#`
[Answer]
# Julia, distance ~~27~~ 26
No comments!
```
Given(a)=(Set;of;integer; find; [sum(a),all,integer,in][1])
```
This creates a function called `Given` that accepts an array and returns the sum of its elements. Since a lot of Julia builtins have relevant names (but are irrelevant to the calculation here), we can just list a few delimited with semicolons. As long as they aren't the last thing listed, they won't be returned. The last part actually makes an array containing the sum and three functions and selects the first element, the sum.
[Answer]
# APL, distance ~~6~~ 3
Saved 3 distances...? thanks to Dennis!
```
+/‚çùen a set of integers, find the sum of all integers in it.
```
This sums a given array (`+/`). The remainder of the sentence is added to the end using a comment (`‚çù`).
[Answer]
# GolfScript, 5
```
~{Given a set of integers+ find the sum of all integers in it}*
```
This a full program that uses no comments (but a lot of noops).
Try it online in [Web GolfScript](http://golfscript.apphb.com/?c=OyJbMSAyIDNdIiAjIFNpbXVsYXRlIGlucHV0IGZyb20gU1RESU4uCgp%2Be0dpdmVuIGEgc2V0IG9mIGludGVnZXJzKyBmaW5kIHRoZSBzdW0gb2YgYWxsIGludGVnZXJzIGluIGl0fSo%3D).
[Answer]
# R, Distance ~~37~~ ~~36~~ 34
Without using comments :)
```
 as.integer ( sum (scan(,integer( ) )))
```
**Note** there is a space at the beginning.
[Answer]
# [RProgN](https://github.com/TehFlaminTaco/Reverse-Programmer-Notation), Distance 2.
```
Given aset of integers, ;find the sum of all integers in it.
```
In RProgN, a, set, find and sum are all commands. Everything else is per default ignored in syntax. a pushes the alphabet to the stack, which will cause sum to fail. Set never has enough arguments, so always fails, erroring. Find either has the wrong number of arguments, or tries to compare the alphabet with the input stack, which doesn't work.
a and set can both be 'fixed' by removing the space between then, aset is not a function, so it's ignored. Find just has an extra character inserted at the start, causing it also to not be recognized, and ignored. Only sum is left, which conveniently sums the contents of the input stack.
Finally, RProgN might win something!
[Try it Online!](https://tehflamintaco.github.io/Reverse-Programmer-Notation/RProgN.html?rpn=Given%20aset%20of%20integers%2C%20%3Bfind%20the%20sum%20of%20all%20integers%20in%20it.&input=%7B1%2C2%2C3%7D)
[Answer]
## Mathematica, distance 17
```
Given a set of integers find the sum of all integers in it*0+Total@Input[]
```
It doesn't use any comments or no-ops, but instead declares all of the words as variables, and then gets rid of them by multiplying by zero.
It also has the benefit of being the only answer that actually takes a **set** of integers as its input.
The input `{1,2,3}` provides the output `6` as expected.
Unfortunately, the Mathematica `Sum` function doesn't do the task in the question, therefore necessitating a larger number of bytes.
[Answer]
# Java - ~~43~~ 41
I tried.
```
float a_set_of(int[] r){return IntStream.of(r).sum()}//n it.
Given a set of integers, find the sum of all integers in it.
```
Java :P.
[Answer]
# CJam, ~~7~~ ~~6~~ 5
```
{:+}e# a set of integers, find the sum of all integers in it.
```
This is an anonymous function that pops an array from the stack and leaves an integer in return.
*Thanks to [@AboveFire](https://codegolf.stackexchange.com/users/42485/abovefire) for shortening the distance by 1.*
[Try it online.](http://cjam.aditsu.net/#code=%7B%3A%2B%7De%23%20a%20set%20of%20integers%2C%20find%20the%20sum%20of%20all%20integers%20in%20it.%0A%0A%5B1%202%203%5D%5C~)
[Answer]
## Matlab, distance ~~29~~ 28
```
Given_a_set_of_integers=@(findthe)sum(all(1)*findthe)
```
Without using any comments :-)
The code is in the form of an anonymous function. I'm assuming the input is a vector (1D-array) of numbers.
Example:
```
>> Given_a_set_of_integers=@(findthe)sum(all(1)*findthe)
Given_a_set_of_integers = 
    @(findthe)sum(all(1)*findthe)
>> Given_a_set_of_integers([1 5 -6 2 4 5])
ans =
    11
```
[Answer]
## F#, distance 21
```
let ``Given a set of integers, find the sum of all integers in it`` x = Seq.sum x
```
Gotta love the ability to use double ticks to give a function a name with spaces in it.
Usage:
```
[1;2;3] |> ``Given a set of integers, find the sum of all integers in it`` |> printfn "%i"
```
> 
> 6
> 
> 
> 
[Answer]
# [Cubix](https://github.com/ETHproductions/cubix), Distance 9
```
@ivOn a ;et I+ i?tegers, fu;d <he sum of all integers in it.
```
[Try it online!](https://tio.run/##Sy5Nyqz4/98hs8w/TyFRwTq1RMFTWyHTviQ1PbWoWEchrdQ6RcEmI1WhuDRXIT9NITEnRyEzDyILZChkluj9/2@oAIG6xgA "Cubix ‚Äì Try It Online")
This wraps onto the cube
```
      @ i v
      O n a
      ; e t
I + i ? t e g e r s , f
u ; d < h e s u m o f a
l l i n t e g e r s i n
      i t .
      . . .
      . . .
```
The operative code is
* `I+i` Input a integer,add to TOS then input a character
* `?` Test character value. Redirect left for -1 (end of input) or right for anything else (0 can't be input)
	+ `;O@` pop TOS, output sum and exit
	+ `<;u` redirect, pop TOS and u-turn onto the start
[Answer]
# [Vyxal 3](https://github.com/Vyxal/Vyxal/tree/version-3), distance 1
```
Given a set of integers·π†, find the sum of all integers in it.
```
[Try it Online!](https://vyxal.github.io/latest.html#WyIiLCIiLCJHaXZlbiBhIHNldCBvZiBpbnRlZ2Vyc+G5oCwgZmluZCB0aGUgc3VtIG9mIGFsbCBpbnRlZ2VycyBpbiBpdC4iLCIiLCJbNCwgMiwgMV0iLCIzLjQuMSJd)
Prints a singleton number.
## Explanation
```
Given a set of integers·π†, find the sum of all integers in it.¬≠‚Å°‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å£‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å§‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å°‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å£‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å¢‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å£‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å¢‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å§‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å£‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å£‚Å°‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å£‚Å¢‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å¢‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å£‚Å£‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å§‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å£‚Å§‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å°‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å§‚Å°‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å°‚Å¢‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å§‚Å¢‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å°‚Å£‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å§‚Å£‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å°‚Å§‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å§‚Å§‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å¢‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å°‚Å°‚Äã‚Äé‚Å™‚Å™‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å¢‚Å¢‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å°‚Å¢‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å¢‚Å£‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å°‚Å£‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å¢‚Å§‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å°‚Å§‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å£‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå‚Å¢‚Å¢‚Å°‚Äã‚Äé‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å£‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å£‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å£‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å§‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å§‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å§‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å¢‚Å§‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å°‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å°‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å°‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å°‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å¢‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å¢‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å¢‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å¢‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å£‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å£‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å£‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å£‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å§‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å§‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å§‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å£‚Å§‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å°‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å°‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å°‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å°‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å¢‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å¢‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å¢‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å¢‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å£‚Å°‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å£‚Å¢‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å£‚Å£‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å£‚Å§‚Å™‚Äè‚Å†‚Äé‚Å™‚Å°‚Å™‚Å†‚Å™‚Å§‚Å§‚Å°‚Å™‚Äè‚Äè‚Äã‚Å°‚Å†‚Å°‚Äå¬≠
G                                                              ## ‚Äé‚Å°Get the max element
 i                                                             ## ‚Äé‚Å¢index
  ve                                                           ## ‚Äé‚Å£Is odd? (decrement, Is even?)
    n                                                          ## ‚Äé‚Å§Push "abcdefghijklmnopqrstuvwxyz" anyway
      a                                                        ## ‚Äé‚Å¢‚Å°Is the alphabet truthy? (Always)
        s                                                      ## ‚Äé‚Å¢‚Å¢Split! I don't know how can you split a bool with 1...
         e                                                     ## ‚Äé‚Å¢‚Å£Is this even?
          t                                                    ## ‚Äé‚Å¢‚Å§Get the last element (How can you do it with a bool?)
            o                                                  ## ‚Äé‚Å£‚Å°Overlap (How??)
             f                                                 ## ‚Äé‚Å£‚Å¢Flatten (Already Flattened??)
               i                                               ## ‚Äé‚Å£‚Å£Index with input again
                n                                              ## ‚Äé‚Å£‚Å§Also, push "abcdefghijklmnopqrstuvwxyz" anyway
                 t                                             ## ‚Äé‚Å§‚Å°Get the last element ("z")
                  e                                            ## ‚Äé‚Å§‚Å¢Split on newlines ("z" has no newlines, so pop and push ["z"])
                   g                                           ## ‚Äé‚Å§‚Å£Never gonna <g>ive you up. (I don't understand what this does anyway)
                    e                                          ## ‚Äé‚Å§‚Å§Split on newlines (Again? This time, it doesn't wrap)
                     r                                         ## ‚Äé‚Å¢‚Å°‚Å°replace this with input?
                      s                                        ## ‚Äé‚Å¢‚Å°‚Å¢split with itself?
                       ·π†                                       ## ‚Äé‚Å¢‚Å°‚Å£SUM!
                        ,                                      ## ‚Äé‚Å¢‚Å°‚Å§PRINT!
                          find the sum of all integers in it.  ## ‚Äé‚Å¢‚Å¢‚Å°I give up. This doesn't do anything.
üíé
```
Created with the help of [Luminespire](https://vyxal.github.io/Luminespire).
[Answer]
# [O](http://o.readthedocs.org/), 5
```
M]+o"Given a set of integers, find the sum of all integers in it.
```
Numbers must be in hexadecimal and in reverse negative notation:
* -6 => 6\_
* -4 => 4\_
* -10 => A\_
[Try it online](http://o-lang.herokuapp.com/link/code=M%5D%2Bo%22Given+a+set+of+integers%2C+find+the+sum+of+all+integers+in+it.&input=1+5+6_+2+4+5)
[Answer]
# K, ~~60~~ 5
```
+/ / Given a set of integers, find the sum of all integers in it.
```
~~I'm guessing symbols do NOT go nicely with the Leve-whatever distance...~~
Hahaha. Originally, I had *no* what the LeveXXX distance was, so I got 60. Then, thanks to helpful comments, it dropped to 5.
[Answer]
# Pip, distance 3
Joining the club of trivial no-comments-but-lots-of-no-ops golflang answers...
```
Given a set of integers, find the sum of all integers in $+g
```
[GitHub repository for Pip](http://github.com/dloscutoff/pip)
The code practically documents itself; maybe `s/in/using/` for a more accurate description. Integers given as command-line arguments are read into the list `g`, which is here folded on addition and the result auto-printed. Most everything else is just variables, which are no-ops.
I was a bit surprised at first that `s, f` worked without complaining, since `f` refers to the main function and taking the range of a code block doesn't make sense. But then I realized: the `,` range operator, when given a function argument, just constructs another function (as do many operators in Pip). So I think `s, f` evaluates to `{Given a set of integers, find the sum of all integers in " ",$+g}`. (Which is then discarded anyway.)
One final point: this code works with the current version of Pip, in which I haven't assigned `G` to anything yet. If in some future version I make `G` a binary or ternary operator, then a distance-4 version would be necessary. Using `given` instead of `Given` would work nicely.
[Answer]
# Haskell, distance 11
No comments!
```
const sum"Given a set of integers, find the sum of all integers in it."
```
Usage:
```
> const sum"Given a set of integers, find the sum of all integers in it." $ [1..10]
55
```
[Answer]
# Pyth - 4
Just puts the actual code, `sQ` in front of the string no-oped by a space.
```
sQ "Given a set of integers, find the sum of all integers in it.
```
[Try it online here](http://pyth.herokuapp.com/?code=sQ%20%22Given%20a%20set%20of%20integers%2C%20find%20the%20sum%20of%20all%20integers%20in%20it.&input=1%2C%205%2C%20-6%2C%202%2C%204%2C%205&debug=0).
[Answer]
# PHP4.1, distance 25
This one is a pretty long one and really late in the run.
But anyway, here it is:
```
<?=$n_a_set_of_integers_fi=array_sum($f_all_integers_in_i);
```
For this to work, you just need to pass it an array over POST/GET/COOKIE/session, using the key `f_all_integers_in_i`.
[Answer]
# [Pyt](https://github.com/mudkip201/pyt), distance 1
```
Given a set of integers, find the ∆©um of all integers in it.
```
All alphanumeric characters are no-ops in Pyt, and the sum of a list only takes one character: ∆©
[Try it online!](https://tio.run/##K6gs@f/fPbMsNU8hUaE4tUQhP00hM68kNT21qFhHIS0zL0WhJCNV4djK0lyQVGJODlwayFDILNH7/z/aUMdIx1jHJBYA "Pyt ‚Äì Try It Online")
[Answer]
# C++17, distance ~~44~~ 29
Variadic Generic Lambda FTW
```
[](auto...t){return(t+...);}//the sum of all integers in it.
```
Previous solution
```
template<class...t>int s(t...l){return(...+l);}//gers in it.
```
[Answer]
# 05AB1E, distance 3
```
#O,Given a set of integers, find the sum of all integers in it.
```
[Try it online!](http://05ab1e.tryitonline.net/#code=I08sR2l2ZW4gYSBzZXQgb2YgaW50ZWdlcnMsIGZpbmQgdGhlIHN1bSBvZiBhbGwgaW50ZWdlcnMgaW4gaXQu&input=MSAyIDMgNA)
[Answer]
# [Pyke](https://github.com/muddyfish/PYKE), Score 3
```
sK"Given a set of integers, find the sum of all integers in it.
```
[Try it here!](http://pyke.catbus.co.uk/?code=sK%22Given+a+set+of+integers%2C+find+the+sum+of+all+integers+in+it.&input=%5B1%2C2%2C3%5D&warnings=0&hex=0)
[Answer]
# [Ly](https://github.com/LyricLy/Ly), score 4
```
&+#Given a set of integers, find the sum of all integers in it.
```
Note the trailing newline.
[Try it online!](https://tio.run/##y6n8/19NW9k9syw1TyFRoTi1RCE/TSEzryQ1PbWoWEchLTMvRaEkI1WhuDQXJJOYkwOXBTIUMkv0uP7/N@Ey4zLi0jXl0jUEAA "Ly ‚Äì Try It Online")
The code is pretty self-explanatory. `&+` is Ly's summing operator, while `#` is a comment. It's unfortunate that I have to include a trailing newline due to the fact that ending a program with a comment line will "comment out" Ly's implicit output, which is actually a bug in the interpreter that I'm calling a feature.
[Answer]
# dc, 14
```
?[+z1 <f]d  sf xp#egers, find the sum of all integers in it.
```
comments:
```
?                   # read numbers
 [                  # start macro
  +                 # add up last two things on stack
   z1 <f            # if stack size is more than 1, execute macro at register 'f'
        ]           # end macro
         d          # dupe it
            sf      # saving one copy to register 'f'
               x    # and executing another
                p   # printing result
```
[TIO](https://tio.run/##S0n@/9/eIFq7SsFQwSY1ViGlOLWiQDk1PbWoWEchLTMvRaEkI1WhuDRXIT9NITEnRyEzrwQsC2QoZJbo/f9vqWChYK5gpmCqYKJgrGCkYAgA)
it complains about the stack being empty if you enter 1 number, but still works, and removal of 0 saves 2 diff.
[Answer]
# Excel VBA, Distance: 11
Anonymous VBE immediate window function that takes input from the range `[a:a]` on the ActiveSheet object and outputs to the VBE immediate window
```
?[Sum(a:a)] 'f integers, find the sum of all integers in it.
```
[Answer]
# [Brain-Flak](https://github.com/DJMcMayhem/Brain-Flak), 20
```
(([]){[{}]{}([])}{})ers, find the sum of all integers in it.
```
[Try it online!](https://tio.run/##FclBCoAgEAXQq/ylQnUhcWGkNWgGaqthzj7Z7sHbW6C6phKyqjHOW3YsnuWnsNjY@oJE9cC4Ivp740kIpYDqiOfcCdDYVD8 "Brain-Flak ‚Äì Try It Online")
# Explanation
Since there are no parentheses in the original text this boils down to a [code-golf](/questions/tagged/code-golf "show questions tagged 'code-golf'") problem in Brain-Flak. But that still doesn't make this answer trivial, as answers in Brain-Flak rarely are.
One's first intuition would probably be the following code
```
({{}})
```
Which works ... *unless* there is a zero on the stack in which case it just sums until the zero. To get around this problem we have to use a stack height to check that the stack is not empty. This can be set up like this
```
([])    #{ Push stack height }
(       #{ Start Push }
{       #{ Loop until zero }
 <{}>   #{ Silently Pop the last height }
 {}     #{ Grab a value from the stack }
 <([])> #{ Silently push the stack height again }
}       #{ End loop }
{}      #{ Remove last stack height }
)       #{ Push the result }
```
This one works, but there is something wrong with it. We keep silencing the pops and the pushes in the loops but they are almost equal so there should be a way to cancel them out. If we try 
```
([])({[{}]{}([])}{})
```
We end up off by `n` each time. So here's the trick, we already have an `n` siting around, we just move it into the push to balance things out.
```
(([]){[{}]{}([])}{})
```
[Answer]
# [Ahead](https://github.com/ajc2/ahead), 17
```
>jLIve>   K+O @f integers, find the sum of all integers in it.
^ >j<l
```
[Try it online!](https://tio.run/##S8xITUz5/98uy8ezLNVOQUHBW9tfwSFNITOvJDU9tahYRyEtMy9FoSQjVaG4NFchP00hMScHLgtkKGSW6HHFKdhl2eT8/2@oYKRgDAA "Ahead ‚Äì Try It Online")
[Answer]
# [Jelly](https://github.com/DennisMitchell/jelly), Distance: 2
```
Given a set of integers, find the sum of all integers in it.
S
```
[Try it online!](https://tio.run/##y0rNyan8/989syw1TyFRoTi1RCE/TSEzryQ1PbWoWEchLTMvRaEkI1WhuDQXJJOYkwOXBTIUMkv0uIL///8fbWigY2gQCwA "Jelly ‚Äì Try It Online")
Jelly only evaluates the main link (the last line) and explicit commands will run other links (other lines).
The last line has `S`, which sums the input.
The first line does not get executed because there is no reference to it in the main link.
[Answer]
# Snap! 4.2.2.9 (+ Tools), scratchblocks3 syntax, distance 35
This is a function. `integers, find the sum of all inte` is the input.
```
for each(et)of(integers, find the sum of all inte
change[s v]by(et
end
report(s
```
]