java 动态规划方法 摘要:解题思路:注意事项:它虽然可以过,但是过不了最大的样例,并不能算完全正确参考代码:import java.math.BigInteger; import java.security.PKCS12At…… 题解列表 2021年11月21日 0 点赞 0 评论 341 浏览 评分:0.0
[编程入门]二维数组的转置--简单版 摘要:解题思路:注意事项:参考代码:a1 = list(input().split())a2 = list(input().split())a3 = list(input().split())def rev…… 题解列表 2021年11月22日 0 点赞 0 评论 544 浏览 评分:0.0
[编程入门]宏定义之找最大数--简单易理解版 摘要:解题思路:注意事项:参考代码:a,b,c = map(float,input().split())da = max(a,b,c)print("{:.3f}".format(da))print("{:.…… 题解列表 2021年11月22日 0 点赞 0 评论 477 浏览 评分:0.0
一种正常的思维简单暴力 摘要:解题思路:暴力求解注意事项:注意sum函数算出来之后最后一次不需要再弹上去参考代码:#include <stdio.h>#include <math.h>double sum(double a,dou…… 题解列表 2021年11月22日 0 点赞 0 评论 355 浏览 评分:0.0
[编程入门]三个数最大值 (调用函数) C++ 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int max(int a,int b){ if(a>b) return a; else r…… 题解列表 2021年11月22日 0 点赞 0 评论 551 浏览 评分:0.0
数据结构-链表的基本操作(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> typedef struct _Node { int data; st…… 题解列表 2021年11月22日 0 点赞 0 评论 550 浏览 评分:0.0
龟兔赛跑预测 摘要:解题思路:没什么思路,按题意写就是注意事项:参考代码:#include<iostream> using namespace std; int main() { int v1,v2,t,…… 题解列表 2021年11月22日 0 点赞 0 评论 447 浏览 评分:0.0
蓝桥杯算法提高VIP-不同单词个数统计 C++ 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<string> #include<cstdio> #include<c…… 题解列表 2021年11月22日 0 点赞 0 评论 827 浏览 评分:0.0
编写题解 1143: C语言训练-素数问题 摘要:解题思路:简单的循环加判断注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(Strin…… 题解列表 2021年11月23日 0 点赞 0 评论 509 浏览 评分:0.0
编写题解 1144: C语言训练-自守数问题 摘要:解题思路:这道题目最难的地方在于位数的计算,我们可以利用字符串的length()方法,利用标志位保证末尾无空格注意事项:1.注意中间是两个空格,末尾无空格2.注意for循环中i是long类型,如果是i…… 题解列表 2021年11月23日 0 点赞 1 评论 430 浏览 评分:0.0