字符串的反码-题解(C语言代码) 摘要:这题的主要解法是根据输入的字符串的情况,进行相应的输出即可,依旧是用的c++的stl进行处理。最后不要忘记换行 ```cpp #include #include #include u…… 题解列表 2020年11月22日 0 点赞 0 评论 462 浏览 评分:0.0
[编程入门]宏定义之找最大数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define f(x,y,z) (x >= y ? x : y) >= z ? (x >= y ? x : y) : zfloat m…… 题解列表 2020年11月22日 0 点赞 0 评论 709 浏览 评分:9.9
拆分位数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b[3], i = 0; scanf("%d", &a); while (i <…… 题解列表 2020年11月22日 0 点赞 0 评论 289 浏览 评分:0.0
[偶数求和]-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int n,m,rest=1; int num; //记录数列的每个数 int c=0…… 题解列表 2020年11月22日 0 点赞 0 评论 762 浏览 评分:0.0
蓝桥杯算法训练VIP-数的统计-题解(Python代码)7行,标准库 摘要:解题思路:注意事项:参考代码:import collections n = int(input()) nums = list(map(int, input().strip().split())) …… 题解列表 2020年11月21日 0 点赞 0 评论 466 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C语言代码)一个数组就能搞定!不用新建数组。非常简洁!!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int n,m,a[100],i; scanf("%d",&n); for (i=0;i<n;i++) {…… 题解列表 2020年11月21日 0 点赞 1 评论 282 浏览 评分:0.0
[编程入门]矩阵对角线求和-题解(C语言代码) 摘要:解题思路:while注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3], i = 0, j = 0, sum1 = 0, sum2 = 0; …… 题解列表 2020年11月21日 0 点赞 0 评论 748 浏览 评分:8.0
C语言训练-最大数问题-题解(C语言代码) 摘要:解题思路:程序后面有说明注意事项:参考代码:#includeint main(){ int i,a[100],j,max; i=0;j=0;max=0; while(1>0) …… 题解列表 2020年11月21日 0 点赞 0 评论 365 浏览 评分:0.0
[编程入门]数组插入处理-题解(C语言代码) 摘要:解题思路: 注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j,t; for(i=0;i<9;i++){ scanf("%d",&a[i]…… 题解列表 2020年11月21日 0 点赞 0 评论 460 浏览 评分:0.0
众数问题-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,n,k,x,h; int a[50000…… 题解列表 2020年11月21日 0 点赞 0 评论 473 浏览 评分:0.0