func readFileAsInts64() ([]int64, error) {
	lines, err := readFileAsStrings()
	if err != nil {
		return nil, err
	}
	input := make([]int64, len(lines))
	for i, l := range lines {
		num, err := strconv.ParseInt(l, 10, 64)
		if err != nil {
			return nil, err
		}
		input[i] = num
	}
	return input, nil
}
// Read input file as a slice of int64
Read input file as a slice of int64
// Read input file as a slice of int64
func readFileAsInts64() ([]int64, error) {
	lines, err := readFileAsStrings()
	if err != nil {
		return nil, err
	}
	input := make([]int64, len(lines))
	for i, l := range lines {
		num, err := strconv.ParseInt(l, 10, 64)
		if err != nil {
			return nil, err
		}
		input[i] = num
	}
	return input, nil
}
func readFileAsInts64 ( ) ( [ ] int64 , error ) { lines , err := readFileAsStrings ( ) if err != nil { return nil , err } input := make ( [ ] int64 , len ( lines ) ) for i , l := range lines { num , err := strconv . ParseInt ( l , 10 , 64 ) if err != nil { return nil , err } input [ i ] = num } return input , nil }
Read input file as a slice of int64
Read input file as a slice of int64