1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std; …… 题解列表 2023年10月15日 0 点赞 0 评论 278 浏览 评分:0.0
1933: 蓝桥杯算法提高VIP-约数个数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std; …… 题解列表 2023年10月15日 1 点赞 0 评论 274 浏览 评分:0.0
简单写一下 摘要:解题思路:注意事项:参考代码:ls=list(map(int,input().split()))n=int(input())suoyin=0for i in ls: if n>=i: …… 题解列表 2023年10月15日 0 点赞 0 评论 285 浏览 评分:0.0
水无月C语言版本 摘要:**代码:** ```C #include int main() { unsigned long int i,a,n,sum=0,t; scanf("%d%d",&a,&n); …… 题解列表 2023年10月15日 0 点赞 0 评论 279 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:运用for循环从后往前遍历即可注意事项:参考代码:#include<stdio.h>#include<string.h>void f(char a[100]){ for(int i=s…… 题解列表 2023年10月15日 0 点赞 0 评论 240 浏览 评分:0.0
数学计算问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n; int h,m,s; scanf("%d…… 题解列表 2023年10月15日 0 点赞 0 评论 313 浏览 评分:0.0
#不固定行数的读入,使用栈 python 摘要:#不固定行数的读入# s=input()ss=[]# while s!='':# ss.append(s)# s=input()#不固定行数的读入import sysI…… 题解列表 2023年10月15日 0 点赞 0 评论 292 浏览 评分:0.0
邻接矩阵求最短路,代码简单,建议学懂原理之后来看这个代码,非常清晰 摘要:解题思路:注意事项:堆优化更好,不过本题不使用对优化的原因是本题直接给邻接矩阵,方便参考代码:#include <iostream>#include <algorithm>#include <cstr…… 题解列表 2023年10月15日 0 点赞 0 评论 402 浏览 评分:0.0
1915: 蓝桥杯算法提高VIP-三个整数的排序 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int arr[3]; for(int…… 题解列表 2023年10月15日 0 点赞 0 评论 204 浏览 评分:0.0
1872: 春夏秋冬季节判断 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; …… 题解列表 2023年10月15日 0 点赞 0 评论 272 浏览 评分:0.0