This website works better with JavaScript.
Home
Explore
Help
Sign In
Alex
/
adventoc
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Advent of Code Solutions
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.
3
Commits
1
Branch
0
Tags
89 KiB
Tree:
d2b71c0f14
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'd2b71c0f14'
${ noResults }
adventoc
/
2024
/
math.go
10 lines
80 B
Raw
Normal View
History
solve day 1 puzzle 2024
3 weeks ago
package
main
func
abs
(
i
int
)
int
{
r
:=
i
if
r
<
0
{
r
=
-
r
}
return
r
}