1 Star 0 Fork 0

yangchao/LeetCode

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.cpp 346 Bytes
一键复制 编辑 原始数据 按行查看 历史
yangchao 提交于 2022-06-19 16:20 +08:00 . first commit
#include <iostream>
#include <vector>
using namespace std;
void printVector(vector<int>& v) {
for (int & it : v) {
cout << it << " ";
}
cout << endl;
}
int main() {
std::cout << "Hello, World!" << std::endl;
vector<int> v1(10,6);
cout << "v1ĴСΪ" << v1.size() << endl;
printVector(v1);
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/yangstudio/leet-code.git
git@gitee.com:yangstudio/leet-code.git
yangstudio
leet-code
LeetCode
master

搜索帮助