Add whitespace stripping

This commit is contained in:
2022-03-07 15:22:07 -08:00
parent 32588e22f9
commit ca6ba89bce

View File

@@ -5,6 +5,7 @@ import (
"flag"
"fmt"
"os"
"strings"
"time"
"github.com/taigrr/most-specific-period/msp"
@@ -43,6 +44,7 @@ func main() {
for s.Scan() {
input := s.Text()
input = strings.TrimSpace(input)
if input == "" {
continue
}