蓝桥杯2013年第四届真题-打印十字图 (C++代码) 摘要:解题思路:对角线隔行展开,其余的按照规律填充注意事项:参考代码:#include<iostream>using namespace std;int main(){ char arr[125][125…… 题解列表 2018年12月10日 0 点赞 0 评论 646 浏览 评分:9.9
统计字母个数 (C语言代码) 摘要:解题思路:注意事项:参考代码#include"stdio.h"#include"string.h"main(){ char a,*p="abcdefghijklmnopqrstuvwxyz"; in…… 题解列表 2018年12月10日 1 点赞 1 评论 1615 浏览 评分:9.9
字符串的输入输出处理 (C++代码) 摘要:解题思路:利用了vector作为存储的媒介注意事项:参考代码:#include <iostream> #include <string.h> #include <vector> using na…… 题解列表 2018年12月10日 0 点赞 0 评论 758 浏览 评分:0.0
字符逆序 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string.h> using namespace std; int main() { c…… 题解列表 2018年12月10日 0 点赞 0 评论 705 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int a; scanf("%d",&a); while(a>=90&&a<=100) { print…… 题解列表 2018年12月10日 0 点赞 0 评论 488 浏览 评分:0.0
校门外的树 (C++代码)数组标记,简洁 摘要:解题思路: 由于马路上有一些区域要用来建地铁。这些区域用它们在数轴上的起始点和终止点表示。已知任一区域的起始点和终止点的坐标都是整数,区域之间可能有重合的部分。数组初始化为0,如果在区域里的全部标记为…… 题解列表 2018年12月10日 1 点赞 0 评论 937 浏览 评分:2.0
排列(C语言代码)(第一次上传题解) 摘要:解题思路:用三重循环解决四个数字的全排列注意事项:题目中说的按从小到大是误导,不需要给数字排序参考代码:#include<stdio.h> int main() { int a[4]={…… 题解列表 2018年12月10日 12 点赞 0 评论 1387 浏览 评分:9.0
超级楼梯 (C++代码)重温一下记忆搜索 摘要:#include<bits/stdc++.h> using namespace std; int a[50]={0,1,1,2}; int dp[50]; int f(int n) { …… 题解列表 2018年12月09日 0 点赞 1 评论 982 浏览 评分:0.0
筛排处理 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int f(int a,int b) { return a<b; }…… 题解列表 2018年12月09日 0 点赞 0 评论 760 浏览 评分:0.0
第几天 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,y,r; int a[12]…… 题解列表 2018年12月09日 1 点赞 0 评论 1612 浏览 评分:0.0