Skip to content

C++ Leetcode 160题参数不匹配 #42

Open
@ASGPIPO

Description

@ASGPIPO

在vscode 1.95.3 中 使用本插件 v0.2.3 进行Leecode 160题debug时出现
“Input parameters is not match the problem!”
使用“Debug Input”功能手动输入案例依然会出现上述情况。
但如果形式为 参数一\n参数二 可以进入调试,但会在下列代码报错 “Aborted”。

vector<int> parseNumberArray(cJSON *node)
{
    if (node->type != cJSON_Array)
    {
        throw "Parse parameter error, expect NumberArray";
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions