编写题解 2829: 数1的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; cin>…… 题解列表 2024年02月27日 0 点赞 0 评论 506 浏览 评分:0.0
2775: 等差数列末项计算 摘要:解题思路: 首先我们要知道等差数列通项公式 an = a1+(n-1)d a1 a2 n 是我们输入的是已知的 公差d用第二项减…… 题解列表 2024年02月27日 0 点赞 0 评论 700 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,ans=0; cin>…… 题解列表 2024年02月27日 0 点赞 0 评论 510 浏览 评分:0.0
题解 2233: 蓝桥杯算法训练-图形显示 摘要:参考代码:参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace std;int a;int main(){ system(…… 题解列表 2024年02月27日 0 点赞 0 评论 476 浏览 评分:9.9
2776: A*B问题 摘要:解题思路: 简单的求A*B的输出 就是加了一个范围 1 <= A,B <= 50000。注意事项:参考代码:#include<stdio.h>int main(){ int A,B; scanf…… 题解列表 2024年02月27日 0 点赞 0 评论 700 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-阶乘的和 摘要:解题思路:注意事项:参考代码:n = int(input()) a = list(map(int,input().split())) a.sort() from collections impo…… 题解列表 2024年02月27日 0 点赞 0 评论 1229 浏览 评分:8.0
暴力求解最大公约数,但算式求解最小公倍数 摘要:解题思路:注意事项:最小公倍数使用了最大公约数来计算参考代码:import java.util.Scanner; public class Main { public static void…… 题解列表 2024年02月27日 0 点赞 0 评论 628 浏览 评分:0.0
甲流病人初筛C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,count=0,i; scanf("%d",&n); char s[200][20…… 题解列表 2024年02月27日 0 点赞 0 评论 631 浏览 评分:0.0
短信计费C小白解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double sum=0; int n,i; scanf("%d",&n); int a…… 题解列表 2024年02月27日 1 点赞 0 评论 765 浏览 评分:6.0
DR 0001 字符统计 摘要:解题思路: 暂无注意事项: 单个字符用‘’,字符串是索引序列,要通过charAt()去调用单个字符参考代码:import java.util.Scanner;public class Main { …… 题解列表 2024年02月26日 0 点赞 0 评论 583 浏览 评分:0.0