C语言训练-字符串正反连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#includeint main(){ char a[100]; gets(a); for(int i=0;a[i]!='\0';i++) p…… 题解列表 2021年02月11日 0 点赞 0 评论 442 浏览 评分:6.0
蓝桥杯算法提高VIP-数字黑洞-题解(C++代码) 代码简洁 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int x,cnt; int main()…… 题解列表 2021年02月12日 0 点赞 0 评论 501 浏览 评分:6.0
蓝桥杯基础练习-数列排序-题解(C++代码)超级简单!!!! 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<vector> #include<algorithm> using namespace std; void…… 题解列表 2021年02月14日 0 点赞 0 评论 625 浏览 评分:6.0
二级C语言-求偶数和-题解(C语言代码) 摘要:解题思路:就是数组和筛选偶数的问题,弄个循环就行注意事项:注意取地址和多语句要加上花括号参考代码:#include<stdio.h>int main(){ int a[20],i,n,sum=0; …… 题解列表 2021年02月15日 0 点赞 0 评论 703 浏览 评分:6.0
求组合数(Java代码) 大数 摘要:解题思路: 大数注意事项:参考代码:import java.math.BigInteger; import java.util.Scanner; public class Main { p…… 题解列表 2021年02月16日 0 点赞 0 评论 948 浏览 评分:6.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>void fun(char *a,char *b){ in…… 题解列表 2021年02月17日 0 点赞 0 评论 748 浏览 评分:6.0
[编程入门]三个数最大值-题解(Python代码) 摘要:参考代码:a,b,c = map(int,input().split())if a>b and a>c: print(a)elif b>a and b>c: print(b)else: …… 题解列表 2021年02月18日 0 点赞 2 评论 885 浏览 评分:6.0
[编程入门]分段函数求值-题解(Python代码) 摘要:x = float(input())if x < 1: print(int(x))elif 1 <= x < 10: print(int(2*x-1))else: print(int…… 题解列表 2021年02月18日 0 点赞 0 评论 641 浏览 评分:6.0
[编程入门]三个数找最大值-题解(Python代码) 摘要:a, b, c = map(int, input().split())if a > b and a > c: print(a)elif b > a and b > c: print(b)e…… 题解列表 2021年02月18日 0 点赞 0 评论 656 浏览 评分:6.0
鸡兔同笼-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s; int x = 0, y = 0;// x 为鸡的数量 y 为兔的数量 scanf("%d", &…… 题解列表 2021年02月18日 0 点赞 0 评论 1099 浏览 评分:6.0