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.
24
Commits
1
Branch
0
Tags
2.7 MiB
Tree:
9cc85e491e
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '9cc85e491e'
${ noResults }
AoC18
/
day1p1
/
main.lua
8 lines
97 B
Raw
Normal View
History
Initial commit (day3p1)
6 years ago
value
=
0
for
line
in
io.lines
(
"
input
"
)
do
value
=
value
+
tonumber
(
line
)
end
print
(
value
)