read the best solution for each task in contest
This commit is contained in:
parent
2ab7a16ddf
commit
adcc1bc8d8
5 changed files with 82 additions and 1 deletions
|
@ -49,4 +49,5 @@ type ContestRepository interface {
|
|||
ListSolutions(ctx context.Context, filter models.SolutionsFilter) (*models.SolutionsList, error)
|
||||
ReadTask(ctx context.Context, id int32) (*models.Task, error)
|
||||
ReadMonitor(ctx context.Context, id int32) (*models.Monitor, error)
|
||||
ReadBestSolutions(ctx context.Context, contestId int32, participantId int32) ([]*models.Solution, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue