注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
地里找到的帖子
但还是不太清楚具体的描述是什么
贴一个 hack2hire 的题干,有人知道具体的正确描述是什么欢迎补充
A data labeling platform manages tasks, human annotators, and AI models. Each entity is represented by a 1-indexed string ID.
You are given integers , , , and :
- Tasks are labeled , , ..., .
- Models are labeled , , ..., .
- Human annotators are labeled , , ..., .
An assignment is represented as , meaning the specified human annotates the specified task using the specified model. A task may appear in multiple assignments, meaning the same task can be annotated by multiple humans and paired with multiple models.
Return any valid schedule as a list of assignments such that:
- Each human appears in at least assignments.
- The same human cannot annotate the same task more than once.
- Every assignment uses valid task, model, and human IDs within the given ranges.
If no valid schedule exists, return an empty list.
Constraints:
- 1 ≤ , , ≤ 10;h4"]]
Explanation: This is one of the possible answers. Each annotator participates in at least 2 assignments. No annotator labels the same task twice. Across every prefix of the schedule, model usage remains balanced for each task and also for each human.Example 2:Input: totalTask = 1, totalModel = 1, totalHuman = 1, k = 1
Output: [["t1", "m1", "h1"]] Example 3:Input: totalTask = 3, totalModel = 1, totalHuman = 3, k = 2
Output: [["t1", "m1", "h1"], ["t1", "m1", "h2"], ["t1", "m1", "h3"], ["t2", "m1", "h1"], ["t2", "m1", "h2"], ["t2", "m1", "h3"]]
|