
Codeup刷题
duebukua
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeup刷题——260344 习题6-12 解密
题目链接:http://codeup.cn/problem.php?cid=100000569&pid=3 #include<bits/stdc++.h> using namespace std; void swap(int &a,int &b); int main() { char cipherText[10000]; scanf("%s",...原创 2020-01-09 19:39:07 · 308 阅读 · 0 评论 -
Codeup刷题——260341 习题6-6 杨辉三角
题目链接:http://codeup.cn/problem.php?cid=100000569&pid=2 #include<bits/stdc++.h> using namespace std; int main() { const int LEN = 10; int triangle[LEN][LEN]={0}; int n; scanf(...原创 2020-01-09 19:24:43 · 264 阅读 · 0 评论 -
Codeup刷题——26040 习题6-5 数组元素逆置
题目链接:http://codeup.cn/problem.php?cid=100000569&pid=1 #include<bits/stdc++.h> using namespace std; void swap(int &a,int &b); int main() { int a[10], i, j; i = 0; j = 9;/...原创 2020-01-09 17:29:55 · 227 阅读 · 0 评论 -
Codeup刷题——26039 习题6-4 有序插入
#include<bits/stdc++.h> using namespace std; int main() { int a[10], toSort, i; int j=8;//开始查找的位置 for(i=0;i<9;i++) { scanf("%d",&a[i]); } scanf("%d",&toSo...原创 2020-01-09 16:51:19 · 322 阅读 · 0 评论