Java语言 矩阵对角线求和 摘要:解题思路:注意事项:数组下标从零开始参考代码:Scanner scanner = new Scanner(System.in); int[][] s = new int[3][3]; …… 题解列表 2021年12月04日 0 点赞 0 评论 1017 浏览 评分:7.3
三角形题解(动态规划) 摘要:解题思路: DP注意事项:参考代码:import java.util.Scanner;public class 数字塔从上到下所有路径中和最大的路径DP { public static void ma…… 题解列表 2021年12月04日 0 点赞 0 评论 475 浏览 评分:0.0
1498: 蓝桥杯算法提高VIP-凶手 java版题解 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args){ for(int i =…… 题解列表 2021年12月04日 0 点赞 0 评论 589 浏览 评分:9.9
活动选择c++ 摘要:解题思路:结束时间越早,能安排的活动就越多;注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int begin[100…… 题解列表 2021年12月04日 0 点赞 0 评论 1081 浏览 评分:9.4
1014: [编程入门]阶乘求和 摘要:解题思路:定义一个简单函数,思路简单清晰;注意事项:参考代码:#include<stdio.h>int main(){ long int p(int x); int i,n; long int s=0…… 题解列表 2021年12月04日 0 点赞 0 评论 356 浏览 评分:9.9
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,x=0,y=0,i; float c,z=0,s=0; scanf("%d %d %f",&a,…… 题解列表 2021年12月05日 0 点赞 0 评论 414 浏览 评分:9.9
编写题解 1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a,b,c; for(i=100;i<=999;i++) { a=i/100; c=i%10…… 题解列表 2021年12月05日 0 点赞 0 评论 446 浏览 评分:0.0
编程入门]完数的判断 摘要:#include<stdio.h>#define max 1001int main() { int n,i,j,a[max],l; scanf("%d",&n); for(i=1; …… 题解列表 2021年12月05日 0 点赞 0 评论 460 浏览 评分:9.9
蓝桥杯算法提高VIP-分数统计-java简洁题解 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.util.concurrent.atomic.AtomicInteger; public clas…… 题解列表 2021年12月05日 0 点赞 0 评论 482 浏览 评分:9.9
编写题解 1150: C语言训练-计算t=1+1/2+1/3+...+1/n 摘要:解题思路:一个循环,循环的同时,进行累加和计算。注意事项:应该用双精度才够;参考代码:#include<stdio.h>int main(){double t=0,i;int n;scanf("%d"…… 题解列表 2021年12月05日 0 点赞 0 评论 705 浏览 评分:9.9