In every folder (problem number is the name of folder) have 3 files:
- go.mod: dependencies and versioning.
- main.go: contains solution function which is in the submission in the website. It is not contain main function so you can't run by "go run".
- main_test.go: contains test function with some testcases and summaries of runtime and memories used.
You have to cd into problem folder and run this command:
go test