JAVA的动态规划解法 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) …… 题解列表 2024年02月22日 0 点赞 0 评论 514 浏览 评分:9.9
malloc函数的使用 摘要:解题思路:注意事项:注意输入n后直接换行会被scanf吞掉,因此需要加一个getchar(),输入完字符串输入m时同理。参考代码:#include<stdio.h>#include<stdlib.h>…… 题解列表 2024年02月23日 0 点赞 0 评论 424 浏览 评分:9.9
结构体的使用 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// 判断是否为闰年in…… 题解列表 2024年02月23日 0 点赞 0 评论 329 浏览 评分:9.9
没有写input和print函数 摘要:解题思路:注意事项:参考代码:#include#includetypedef struct { char name[10]; char number[10]; int grade[3…… 题解列表 2024年02月23日 0 点赞 0 评论 385 浏览 评分:9.9
编写一个程序,输入a,b,c三个值,输出其中最大值。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d%d",&a,&b,&c); if(a<c&&b<c){ …… 题解列表 2024年02月23日 0 点赞 0 评论 400 浏览 评分:9.9
类似1050题可解 摘要:解题思路:注意事项:部分地方还可以更精简参考代码:#include <stdio.h>#include <stdlib.h>typedef struct { char name[10]; char n…… 题解列表 2024年02月23日 0 点赞 0 评论 350 浏览 评分:9.9
家人们,这个题解超简单! 摘要:解题思路:将金银铜分别输入三次即可,并先输入比了多少天即可。注意事项:不能把a,b,c的输入写在外面。参考代码:#include <bits/stdc++.h>using namespace std;…… 题解列表 2024年02月23日 0 点赞 1 评论 321 浏览 评分:9.9
冶炼金属--超快解法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm>using namespace std;const int i…… 题解列表 2024年02月23日 0 点赞 0 评论 615 浏览 评分:9.9
蓝桥杯2022年第十三届决赛真题-最大数字-暴力解 摘要:解题思路:最大数字,尽量从第一位开始每一位都接近 9;如果果该位是9就不用管 1)该位 + 可增加的次数 a 是否会超过 9, 超过就可以让该位达到9,增加次数-让该位到9的次数2)该位 < 减少次数…… 题解列表 2024年02月24日 1 点赞 6 评论 1343 浏览 评分:9.9
矩阵加法python题解 摘要:解题思路:注意事项:参考代码:def matrix_add(matrix1,matrix2): result=[] rows1=len(matrix1) cols1=le…… 题解列表 2024年02月24日 0 点赞 0 评论 387 浏览 评分:9.9