Skip to content

Unclear error message for fixed time limit #426

@Matistjati

Description

@Matistjati

IMO, this error message is unclear in intent:
ERROR Time limit fixed to 4, but slowest AC runs in 2.968 which is within a factor 5.

I don't really see the point in this being an error. In the new problem format, you will be able set an explicit time_limit.

I would propose to change it to a warning with the current phrasing:

WARNING Fixed time limit (3) is tighter than the auto-computed limit (5) — slowest AC: 2.973s x multiplier 1.5

when fixed tl $\in [\text{slowest AC}, \text{slowest AC * multiplier}]$, and

ERROR Fixed time limit (3) causes AC solution <x> (3.5s) to TLE

when fixed tl $\in [0, \text{slowest AC})$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions