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.
16
Commits
1
Branch
0
Tags
89 KiB
Go
100%
Tree:
84139b2ed6
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '84139b2ed6'
${ noResults }
adventoc
/
2024
/
math.go
9 lines
88 B
Raw
Blame
History
package
adventoc2024
func
abs
(
i
int
)
int
{
r
:=
i
if
r
<
0
{
r
=
-
r
}
return
r
}
Reference in new issue