字符排列问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int count,n,book[21]; char str[21]; int …… 题解列表 2018年07月31日 1 点赞 0 评论 1129 浏览 评分:0.0
可 AC(C语言代码) 摘要:解题思路: 注意事项: 比较简单,看解析即可;注意解析中的数组均为逆序存储 参考代码: #include<stdio.h> #include<math.h> v…… 题解列表 2018年07月31日 1 点赞 2 评论 473 浏览 评分:0.0
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> void move(unsigned int value,int n)…… 题解列表 2018年07月31日 2 点赞 1 评论 855 浏览 评分:9.9
可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { unsigned int a, m, sum…… 题解列表 2018年07月31日 3 点赞 1 评论 1081 浏览 评分:9.9
蓝桥杯历届试题-最大子阵 (C++代码) 摘要:解题思路: 二维压缩成一维的最大子段,枚举。参考代码:#include<bits/stdc++.h> #define Inf 0x3F3F3F3F using namespace s…… 题解列表 2018年07月30日 0 点赞 0 评论 1365 浏览 评分:0.0
输出字符'A'个数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N = 0, i = 0; char str[105]; scanf("%d", &N); for (i…… 题解列表 2018年07月30日 5 点赞 0 评论 1863 浏览 评分:9.9
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int max,x; scanf("%d",&x); max=x; while(scanf("%d",&x)…… 题解列表 2018年07月30日 0 点赞 0 评论 1087 浏览 评分:0.0
C语言训练-数字母 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int count=0;int main (){ int i; char s[1000]; gets(s); for…… 题解列表 2018年07月30日 0 点赞 0 评论 1022 浏览 评分:0.0
C语言训练-求矩阵的两对角线上的元素之和 (C语言代码) 摘要:解题思路:注意事项:奇数矩阵时。多加了一个 参考代码:#include <stdio.h>int main (){ int x,a[10][10]; int i,j,sum; …… 题解列表 2018年07月30日 0 点赞 0 评论 577 浏览 评分:0.0
C语言训练-求函数值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int f(int n){ if(n==1) return 10; else if(n>1) return f(…… 题解列表 2018年07月30日 0 点赞 0 评论 749 浏览 评分:0.0