[建议] hack 功能支持直接上传 std

Open
#1,002 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by tracing the existing hack workflow and how the checker currently reads embedded std, generated data, and contestant output. Define the upload and answer-generation flow first; done means a hack can accept std and data separately, generate ans, and compare it with the contestant output without embedding std in the checker.

Written by the indexing model from the issue text.

Description

现有 hack 功能必须把 std 嵌进 checker,导致 checker 需要同时有两套东西可读性非常差,而且很麻烦。如果支持类似自动生成数据的方式,上传 std 和数据就能生成 ans 直接和选手输出比较会好很多。

Dominant language
TypeScript
Stars
7.3k
Forks
504
Avg merge
11h 29m
Merged PRs (30d)
2

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hydro-dev/Hydro

All issues in hydro-dev/Hydro

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.