摘要:
题目: 思路: 1.只需要把每个行的开头和结尾赋值为1即可 2.利用递推公式 代码如下: 1. #include<cstdio> #include<iostream> using namespace std; main(){ int n; cin>>n; int a[n][n]; for(int i 阅读全文
摘要:
1)用超级用户登录否则vim无法实现读写操作2)挂载iso 找不到媒体需要右键虚拟机下面的cD光盘,点连接 如果显示找不到文件 那么就在设置的时候,点CD光盘,点自动连接并且重新设置连接的CD光盘路径 阅读全文
摘要:
1.看到一篇不错的: https://blog.csdn.net/wangpeng047/article/details/7164643 阅读全文
摘要:
1.直接输入英文状态下的. 阅读全文
摘要:
思路: 1.先从1-9中挑选一个最小的并且存在的数字输出 再从小到大输出后面的 代码如下: #include<cstdio> #include<cstring> #include<iostream> using namespace std; main(){ int a[10]; memset(a,0 阅读全文
摘要:
1.创建硬盘始终挂载不上去 明明目录已经创建了啊 解决方法: 创建backup目录的时候要连带着创建其父目录! 这样这个目录就存在了 阅读全文
摘要:
题目: 思路: 1.利用swap 和数组思想 代码: #include<cstdio> #include<iostream> using namespace std; main(){ int a[4]={0,1,0,0}; string s; cin>>s; for(int i=0;i<s.size 阅读全文
摘要:
题目: 思路: 1.最后一段加不进去,所以一开始就要加1 贪吃法 代码如下: #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> using namespace std; int a[3]; int ma 阅读全文
摘要:
题目: 思路: 1.按ABC的顺序来排序 先把a[]数组来排列大小 然后下标的大小决定了a[]的顺序 代码如下: #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> using namespace std 阅读全文
摘要:
1.在官网上下载两个zip,并将其合并在一个文件夹中 2.此时运行setup,会出现环境版本过低,此时需要在D:\app\oracle\database\stage\cvu 找到 打开方式选择记事本,在里面添加windows10的环境,如下: <OPERATING_SYSTEM RELEASE="6 阅读全文