Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 241 Bytes

File metadata and controls

11 lines (9 loc) · 241 Bytes

Interactive Problem Template

To mock the IO part, implement this interface and use it both in main.go and main_test.go.

type interaction interface {
	readInitData() initData
	query(request) response
	printAnswer(answer)
}