mirror of
https://github.com/RussellChamp/advent-of-code-2021.git
synced 2026-10-28 06:02:31 +00:00
day 14 and 15
This commit is contained in:
1 parent
6e22bbe567
commit
4737afa383
12 files changed
+678
-3
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package numbers
|
||||
|
||||
func Min(i1 int, a ...int) int {
|
||||
min := i1
|
||||
for _, i := range a {
|
||||
if i < min {
|
||||
min = i
|
||||
}
|
||||
}
|
||||
return min
|
||||
}
|
||||
Reference in new issue
Block a user