蓝桥杯2017年第八届真题-包子凑数 线性dp 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 包子凑数 { static int dp[]=new int[100000]; p…… 题解列表 2023年03月21日 0 点赞 0 评论 364 浏览 评分:0.0
编写题解 2902: 输出最高分数的学生姓名 摘要:解题思路:注意事项:参考代码:#include <stdio.h> typedef struct stu{ char name[20]; int sroue; }temp; in…… 题解列表 2023年03月21日 0 点赞 0 评论 290 浏览 评分:0.0
评委会打分(JAVA代码) 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class 评委打分 { public static…… 题解列表 2023年03月21日 0 点赞 0 评论 382 浏览 评分:9.9
爬树的甲壳虫——Java 摘要:# 思路 https://blog.csdn.net/qq_44579321/article/details/129465652 (但是它的推导式在最后有点问题) https://www…… 题解列表 2023年03月21日 0 点赞 0 评论 1151 浏览 评分:6.4
连通块问题:时间复杂度O(n^2) 摘要:解题思路:连通块问题可以用dfs把每个不是0的位置修改为0,然后修改完成再遍历二维数组中下一个与任何1都不挨着的1,重复操作直到g[n-1][m-1]注意事项:注意坐标偏移量问题参考代码:#inclu…… 题解列表 2023年03月21日 0 点赞 0 评论 468 浏览 评分:9.9
错误探测——C语言 摘要://一直在打代码就没写注释,后续有空再补充#include<stdio.h> #define N 100 int num[N][N]; int main(void) { int n; s…… 题解列表 2023年03月21日 0 点赞 0 评论 291 浏览 评分:0.0
简易版C语言代码 摘要:解题思路:注意事项:参考代码:int main() { int a = 0; for (a = 100; a < 1000; a++) { int b = a % 10; int …… 题解列表 2023年03月21日 0 点赞 0 评论 245 浏览 评分:0.0
二级C语言-计算素数和:注意 i<2 的情况 摘要: #include #include using namespace std; bool isprime(int x) { int co…… 题解列表 2023年03月21日 0 点赞 0 评论 289 浏览 评分:0.0
谁拿了最多奖学金——C语言结构体 摘要:#include<stdio.h> #include<stdlib.h> struct S { char name[20]; int score; int total; char…… 题解列表 2023年03月22日 0 点赞 0 评论 315 浏览 评分:9.9
谁考了第K名(C语言)——输入时按分数排序再插入数组 摘要://使用C++文件,提交要用C++ #include#include#define N 500 struct S { char sid[N]; double score; }; int…… 题解列表 2023年03月22日 0 点赞 0 评论 405 浏览 评分:0.0