algoristas / api

Algorists dashboard API
4 stars 1 forks source link

Define schema for generic problem #21

Open hopkins0 opened 4 years ago

hopkins0 commented 4 years ago

Currently, we have different structs to manage responses for different judges. To have a more generic way to handle problems, we should have a generic struct where we can put the same information regardless of the source.

This change will also imply the refactoring of the existing code to use the new message.