随笔分类 - 基础算法
基础算法
摘要:C++数据结构-结构体 学生信息 http://oj.61coding.cn/problem.php?cid=1028&pid=0 #include<bits/stdc++.h> using namespace std; struct student{ string name; char sex;
阅读全文
摘要:在新建源代码或者ctrl+n快捷键新加源代码的时候,可以自动根据模板创建一些基础代码,可以避免每次都编写,提高编写代码的效率 具体方法如下: 1.工具栏 tools-->editor options 打开如下对话框 2.在对应的代码区域,填上我们常用的代码即可 3.基础模板code #include
阅读全文
摘要:洛谷 P1706 https://www.luogu.com.cn/problem/P1706 程序模板: #include<bits/stdc++.h> using namespace std; //定义变量 n,当前排列记录数组,当前排列数字是否使用数组 int n,used[10],curRo
阅读全文
摘要:https://www.jianshu.com/p/9e58f455c1ee https://blog.csdn.net/weixin_39104847/article/details/108671116 https://zhuanlan.zhihu.com/p/88360362
阅读全文