When used competitive companion we are provided with the time limit for each problem. Use this time limit instead of a global time limit.
To implement it, store the time limit on attic/config.json as a separate entry.
Try to load the time limit from the config, if not found, use general time limit.
One clear advantage of this approach is that we can have a different time limit per problem.
When used competitive companion we are provided with the time limit for each problem. Use this time limit instead of a global time limit.
To implement it, store the time limit on
attic/config.json
as a separate entry. Try to load the time limit from the config, if not found, use general time limit.One clear advantage of this approach is that we can have a different time limit per problem.