/ ns /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:4: error: 'vector' is not a member of 'std'
    std::vector<std::vector<bool>> dp(2, std::vector<bool>(m + 1, false));
    ^~~
/in/foo.cc:9:16: error: 'vector' is not a member of 'std'
    std::vector<std::vector<bool>> dp(2, std::vector<bool>(m + 1, false));
                ^~~
/in/foo.cc:9:28: error: expected primary-expression before 'bool'
    std::vector<std::vector<bool>> dp(2, std::vector<bool>(m + 1, false));
                            ^~~~
/in/foo.cc:10:4: error: 'dp' was not declared in this scope
    dp[0][0] = true;
    ^~

信息

递交者
类型
自测
题目
P1000 1
语言
C++
递交时间
2024-10-29 20:58:33
评测时间
2024-10-29 20:58:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes