[萌新c++] LeetCode 1两数之和
题解中cv过来的代码(鸣谢no5题解owner:程序员小吴),就想打印一下结果。。无法用 “int [4]” 类型的值初始化 “std::vector<int, std::allocator> &” 类型的引用(非常量限定)nums定义改为:vector nums[] = { 2, 7, 11, 15 };报如下错误:E0415 不存在从 “int” 转换到 “std...
原创
2020-02-23 19:59:58 ·
724 阅读 ·
1 评论