不用ASCII码(Java代码) 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2024年06月15日 0 点赞 0 评论 253 浏览 评分:0.0
1004: [递归]母牛的故事c语言 摘要:代码解释:这里作者用了五维数组解题思路:有1岁牛2岁牛3岁牛4岁牛分别统计他们的数量,4岁牛的数量=上一年的3岁牛+当年4岁牛的数量。3岁牛的数量=上一年的2岁牛的数量。2岁牛的数量=上一年的1岁牛的…… 题解列表 2024年06月15日 0 点赞 0 评论 248 浏览 评分:0.0
题解 1852: 求1+2+3+...+n的值(test1) 摘要:**#include using namespace std; int main() { long long n,sum=0; cin>>n; for(int …… 题解列表 2024年06月16日 0 点赞 0 评论 213 浏览 评分:0.0
题解 2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int manba(int a,int b,int c){ if(a>b) { …… 题解列表 2024年06月16日 0 点赞 0 评论 262 浏览 评分:0.0
题解 1852: 求1+2+3+...+n的值(正确题解·(doge)) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int manba(long long a,long long sum){ fo…… 题解列表 2024年06月16日 0 点赞 0 评论 244 浏览 评分:0.0
N以内累加求和 摘要:解题思路:循环注意事项:n大写参考代码:#include <iostream>using namespace std;int main() { int N,sum = 0; cin >> …… 题解列表 2024年06月16日 0 点赞 0 评论 489 浏览 评分:0.0
C语言训练-计算一个整数N的阶乘 摘要:解题思路:循环注意事项:阶乘参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1;…… 题解列表 2024年06月16日 0 点赞 0 评论 267 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a[10],tg,zd=0; for(int i=0;…… 题解列表 2024年06月16日 0 点赞 0 评论 313 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路: 简化攻击力增加量的计算过程,确保每次升级后都按等差数列求和来计算总增加攻击力。参考代码:#include <stdio.h>#include <limits.h>#define max …… 题解列表 2024年06月16日 0 点赞 0 评论 509 浏览 评分:0.0
题解 2688: 蓝桥杯2022年第十三届省赛真题-技能升级 摘要:解题思路:贱命一条就是干注意事项:无参考代码:#include <stdio.h>#include <stdlib.h>#define max 1000005struct Node { int …… 题解列表 2024年06月16日 0 点赞 0 评论 301 浏览 评分:0.0