前缀和和差分 1,对于格式化输入输出1,取消同步流 1ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2,不要写 1cout<<endl; 写 1cout<<'\n'; 3, 1234//举例define ll = long long;//尽量不要用define//替换using ll = long long; 2,一维 2023-09-18 #基础算法
day2:component组件模块化思维,Vue-Router切换页面路由 tips:当要上传github时gitigore会将依赖模块给屏蔽重新打开页面:12pnpm install //重新安装依赖pnpm run dev //就可以运行 Vite的目录结构1234567891011121314151617├── README.md // 说明├── index.html // html文件├── package.json // 项目基本信息├── public / 2023-09-14 #前端
博客搭建和踩过的坑 1,hexo的平台搭建准备工作:1, 弄个github账号2,安装Nodejs3,安装git Git 详细安装教程(详解 Git 安装过程的每一个步骤)_git安装-CSDN博客node.js安装及环境配置超详细教程【Windows系统安装包方式】 - 知乎 (zhihu.com)创建使用 Hexo+GitHub 搭建个人免费博客教程(小白向) - 知乎 (zhihu.com)用这个文章差不多能 2023-09-13 #博客搭建
前端环境搭建和Eslint搭配 ide是Webstorm1, Vue的安装a, Nodejs的安装node.js安装及环境配置超详细教程【Windows系统安装包方式】 - 知乎 (zhihu.com)b,安装pnpm和淘宝镜像源npmmirror 镜像站pnpm安装1npm install -g pnpm c,Vue框架123456//安装Vue框架pnpm create vite my-vue-app --template 2023-09-12 #前端