1
0
Fork 0

update day2

rewrite all functions to methods
This commit is contained in:
Sebastian Mark 2024-12-02 18:19:40 +01:00
parent 3fbc954566
commit 39f1e7ae74
2 changed files with 59 additions and 60 deletions

View file

@ -38,7 +38,7 @@ func ReadLinesTwoIntSlices() (list_a []int, list_b []int) {
return list_a, list_b
}
func ReadLinesToIntArrays() (lines [][]int) {
func ReadLinesToIntSlices() (lines [][]int) {
scanner := GetLines()
for scanner.Scan() {
string_line := strings.Fields(scanner.Text())