This website works better with JavaScript.
Home
Sign In
mid-kid
/
AoC18
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
Advent of Code 2018
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28
Commits
1
Branch
0
Tags
2.7 MiB
C
94.1%
Makefile
5.6%
Shell
0.2%
Tree:
f85eb031c4
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'f85eb031c4'
${ noResults }
AoC18
/
day1p1
/
main.lua
7 lines
97 B
Raw
Blame
History
value
=
0
for
line
in
io.lines
(
"
input
"
)
do
value
=
value
+
tonumber
(
line
)
end
print
(
value
)
Reference in new issue