-
Notifications
You must be signed in to change notification settings - Fork 23.4k
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
此 issue 的目的是修复 chatGPT 转译的多语言代码,更详细的背景信息和修复流程见:#1113
请在提交 bug 之前先搜索
- 我已经搜索过 issues,没有发现相同的 bug。To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
出错的题目链接
https://leetcode.cn/problems/qn8gGX/
报错信息
Line 40: SyntaxError: Identifier 'PriorityQueue' has already been declared
Line 40 in solution.js
class PriorityQueue {
SyntaxError: Identifier 'PriorityQueue' has already been declared
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1031:15)
at Module._compile (node:internal/modules/cjs/loader:1065:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
Result: 0/25 tests passed
Input: [1,7,11],[2,4,6],3
Expected: [[1,2],[1,4],[1,6]]
你是否愿意提交 PR 修复这个 bug?
- 我愿意!To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Projects
Milestone
Relationships
Development
Select code repository
Activity