Skip to content

Latest commit

 

History

History

interactive_problem

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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)
}