CoKe 的天照 摘要:解题思路:注意事项:参考代码:DP#include"bits/stdc++.h" using namespace std; int t,m,n; int dp[11][11]; int mai…… 题解列表 2024年12月20日 0 点赞 0 评论 626 浏览 评分:0.0
2797: 最高的分数(详细注释) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n, score, max; //n,表示n个学生,score,每…… 题解列表 2024年12月20日 1 点赞 0 评论 649 浏览 评分:0.0
2798: 整数序列的元素最大跨度值(详细注释) 摘要:解题思路:注意事项:参考代码://解题思路:最大跨度=最大值-最小值,因而只要求出最大值与最小值,此题就迎刃而解了。 #include <stdio.h> int main() { i…… 题解列表 2024年12月20日 2 点赞 0 评论 682 浏览 评分:0.0
2799: 奥运奖牌计数(详细注释) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int day, Gold, Silver, Bronze, sum_Gold, sum_S…… 题解列表 2024年12月20日 0 点赞 0 评论 693 浏览 评分:0.0
字符串的排序,纯傻瓜做法 解题思路:使用到strcmp函数比较字典数,三个字符串数量有限,完全可以列出所有可能的排列可能方式,按顺序依次比较三个字符串注意事项:puts函数自动换行参考代码://==============================字符串排序问题===================#include 题解列表 2024年12月20日 0 点赞 0 评论 931 浏览 评分:0.0 python,基础运算 解题思路:注意事项:参考代码:nums=list(map(float,input().strip().split()))x,a,b,c,d=numsfx=a*x**3+b*x**2+c*x+dprint('%.7f'%fx) 题解列表 2024年12月20日 1 点赞 0 评论 624 浏览 评分:0.0 关键宏定义 摘要:解题思路:闰年就是能够被4整除且不能被100整除的年份,或者是能被400整除的年份注意事项:宏定义判断条件的使用参考代码:#include<stdio.h>#define LEAP_YEAR(y) (…… 题解列表 2024年12月20日 2 点赞 0 评论 1106 浏览 评分:0.0 编写题解 2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:r = float(input())pi = 3.14159print('%.4f' % (2 * r), end=' ')print(&…… 题解列表 2024年12月20日 0 点赞 0 评论 1008 浏览 评分:0.0 或许我现在的确不如你们 但我想赢的决心不输任何人! 摘要:解题思路: &n 题解列表 2024年12月20日 1 点赞 0 评论 369 浏览 评分:0.0 1391: 震宇大神的杀毒软件 6 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,m[100]; while (~scanf("%d",&n))…… 题解列表 2024年12月20日 0 点赞 0 评论 411 浏览 评分:0.0 « 12...5731573257335734573557365737...59115912 »
python,基础运算 解题思路:注意事项:参考代码:nums=list(map(float,input().strip().split()))x,a,b,c,d=numsfx=a*x**3+b*x**2+c*x+dprint('%.7f'%fx) 题解列表 2024年12月20日 1 点赞 0 评论 624 浏览 评分:0.0
关键宏定义 摘要:解题思路:闰年就是能够被4整除且不能被100整除的年份,或者是能被400整除的年份注意事项:宏定义判断条件的使用参考代码:#include<stdio.h>#define LEAP_YEAR(y) (…… 题解列表 2024年12月20日 2 点赞 0 评论 1106 浏览 评分:0.0
编写题解 2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:r = float(input())pi = 3.14159print('%.4f' % (2 * r), end=' ')print(&…… 题解列表 2024年12月20日 0 点赞 0 评论 1008 浏览 评分:0.0
1391: 震宇大神的杀毒软件 6 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,m[100]; while (~scanf("%d",&n))…… 题解列表 2024年12月20日 0 点赞 0 评论 411 浏览 评分:0.0