求最大值sdgafsdgasd 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int MAX(int arr[], int L, int R) { if (L == R) { int s = arr[L]; …… 题解列表 2021年10月29日 0 点赞 0 评论 328 浏览 评分:0.0
利用数组求偶数和 摘要:解题思路:利用数组来储存所输入的数字,对于数组的大小可以用scanf来确定n,然后就是在for中使用数组,for中用if对数组中的数字进行判断,若为偶数这sum=sum+a[i],最后输出sum即可注…… 题解列表 2021年10月29日 0 点赞 1 评论 733 浏览 评分:7.3
蓝桥杯基础练习VIP-时间转换-Python 摘要:``` t = int(input()) h = t // 3600 m = (t % 3600) // 60 s = t % 60 list = [h, m, s] print(':…… 题解列表 2021年10月29日 0 点赞 0 评论 322 浏览 评分:0.0
【C不C吧】我好短! 摘要:解题思路:注意事项:求救大佬,我这为啥子会输出超限?参考代码:#include<stdio.h>int main(){ char c; while ((c = getchar()) != '\…… 题解列表 2021年10月29日 0 点赞 1 评论 618 浏览 评分:8.7
蓝桥杯基础练习VIP-分解质因数-递归 摘要:``` import math n, m = map(int, input().split()) def is_prime(num): for i in range(2, in…… 题解列表 2021年10月29日 0 点赞 0 评论 458 浏览 评分:9.9
C语言训练-尼科彻斯定理 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c,d,m,n,e=0,f; scanf("%d",&m); n=m*m*m; …… 题解列表 2021年10月29日 0 点赞 0 评论 251 浏览 评分:9.9
蓝桥杯基础练习VIP-矩阵乘法-python 摘要:``` n, m= map(int, input().split()) list = [list(map(int, input().split())) for i in range(n)] li…… 题解列表 2021年10月29日 0 点赞 0 评论 443 浏览 评分:4.7
冒泡法简洁些 摘要:解题思路:冒泡法注意事项:俩次排序的范围参考代码:#include<stdio.h>int main(){ int a[10]; int x,t; for(int i=0;i<10;i…… 题解列表 2021年10月29日 0 点赞 1 评论 554 浏览 评分:9.9
让我来写个笨方法 摘要:解题思路:用for循环来进行排序注意事项:莫得参考代码:#include <stdio.h>#include <string.h>int change(char a[],char b[]){ //ch…… 题解列表 2021年10月29日 0 点赞 0 评论 214 浏览 评分:0.0
蓝桥杯基础练习VIP-矩形面积交-Python 摘要:``` A = list(map(float, input().split())) B = list(map(float, input().split())) # 两大种情况下各三小种情况 …… 题解列表 2021年10月29日 0 点赞 0 评论 421 浏览 评分:6.0