C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:/*输入一串字符,将其中的大写变成小写,若不为大写则原样输出*/#include<stdio.h>#include<stdlib.h>int main(){ int i;…… 题解列表 2018年03月08日 1 点赞 0 评论 1133 浏览 评分:0.0
蓝桥杯基础练习VIP-芯片测试 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int k,i,j,n,xin_p[20][20],liu[20]={0},xia_b[20],xia_bs;s…… 题解列表 2018年03月08日 0 点赞 0 评论 1706 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; scanf("%d%d",&…… 题解列表 2018年03月08日 0 点赞 0 评论 876 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:/*所给字符串正序和反序连接,形成新串并输出*/#include <stdio.h>#include <stdlib.h>int main(){ int i,j; cha…… 题解列表 2018年03月08日 0 点赞 0 评论 1214 浏览 评分:0.0
C语言训练-排序问题<1> (C语言代码)(冒泡法) 摘要:解题思路:注意事项:参考代码:/*将四个整数进行从小到大的顺序排列*/#include <stdio.h>int main(){ int i,j,a[4],jh; for(i=0;i<4;i++) s…… 题解列表 2018年03月08日 0 点赞 0 评论 887 浏览 评分:0.0
C语言训练-排序问题<2> (C语言代码)(冒泡) 摘要:解题思路:注意事项:参考代码:/*将四个整数进行从小到大的顺序排列*/#include <stdio.h>int main(){ int i,j,a[4],jh; for(i=0;i<4;i++) s…… 题解列表 2018年03月08日 0 点赞 0 评论 963 浏览 评分:0.0
C语言训练-数字母 (C语言代码) 摘要:解题思路:注意事项:参考代码:/*输入一个字符串,数出其中的字母的个数.*/#include <stdio.h>int main(){ int i,sum=0; char a[100]; scanf(…… 题解列表 2018年03月08日 1 点赞 0 评论 1045 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (Java代码) 摘要:解题思路: 经典递归求阶乘解法!注意事项: 位数较多时,会出现精度不够的情况,使用 BigInteger 类进行数据处理。参考代码: import java.math.BigInteger;…… 题解列表 2018年03月08日 2 点赞 0 评论 1006 浏览 评分:0.0
C语言训练-求函数值 (C语言代码)(递归) 摘要:解题思路:注意事项:参考代码:/*按如下递归公式求函数值。 x=1时 f(x)=10;x>1时 f(x)=f(x-1)+2*/#include <stdio.h>int f(int x);int ma…… 题解列表 2018年03月08日 1 点赞 0 评论 1650 浏览 评分:0.0
Tom数 (Java代码) 摘要:解题思路:由于数字太大,所以不能使用int 或 long所以考虑用 String注意事项:参考代码:import java.util.Scanner;public class Main { publ…… 题解列表 2018年03月08日 0 点赞 0 评论 802 浏览 评分:0.0