Skip to content

Problem 61: Checker output format conflicts with the statement #186

Description

@weiwch

The statement requires one integer per test case: the maximum achievable value. The sample output and all provided .ans files use this format.

However, algorithmic/problems/61/check.cpp interprets the first participant output integer as the number of segments d, then reads d pairs (l, r). Therefore, a statement-compliant solution is misparsed and rejected.

For example, the official sample output starts with 3 6. The checker reads 3 as d and 6 as the first segment's left endpoint, which is outside [1, 5], resulting in Wrong Answer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions