最原始的方法 因为我只学到这 摘要:解题思路: 最原始的方法 肯定都看得懂注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(1<=(a/10000)&&(a…… 题解列表 2024年10月23日 3 点赞 0 评论 299 浏览 评分:10.0
三角形 (三角形类动态规划模板) 摘要: #include #include using namespace std; int s[101][101]; int main(){ …… 题解列表 2024年10月24日 4 点赞 0 评论 451 浏览 评分:10.0
母牛的故事c语言 摘要:#include <stdio.h> int fun(int n) { if(n<=3) { return n; } else { return f…… 题解列表 2024年10月25日 1 点赞 0 评论 2592 浏览 评分:10.0
利润计算c语言求解 摘要:解题思路:利用递归思想参考代码:#include <stdio.h> int func(int n); int main() { int n, result; scan…… 题解列表 2024年10月26日 12 点赞 1 评论 1284 浏览 评分:10.0
第一个HelloWorld程序 摘要:解题思路:使用输出函数即可注意事项:Hello与World之间有一个空格以及大小写问题*也是输出的一部分,别光打印Hello World!参考代码:#include<stdio.h> int m…… 题解列表 2024年10月27日 15 点赞 0 评论 1208 浏览 评分:10.0
1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define F(a,b,c) S=(a+b+c)/2#define P(a,b,c) area=sq…… 题解列表 2024年10月27日 2 点赞 0 评论 871 浏览 评分:10.0
读懂题目就是一道简单题 摘要:解题思路:n = int(input())arr1 = [0] + list(map(int, input().split()))arr2 = [0] + list(map(int, input().…… 题解列表 2024年10月28日 7 点赞 2 评论 549 浏览 评分:10.0
1986: 鸡兔同笼(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i, x, y, z; scanf("%d", &z); for (y = 0; y…… 题解列表 2024年10月28日 1 点赞 0 评论 262 浏览 评分:10.0
杀到这九天十地无人敢称尊,直到身边再无一人能陪我征战,叶天帝不过如此 摘要:# 不用抽象标题没人看俺题解 此题模板题就不多说了 直接看看代码 ###### AC Code: ```cpp #include #include #include #includ…… 题解列表 2024年10月30日 1 点赞 1 评论 249 浏览 评分:10.0
好数 基本思想简单易懂(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//切勿随意抄袭,若需引用请标明作者int is_good_num(int num) …… 题解列表 2024年10月31日 10 点赞 0 评论 1088 浏览 评分:10.0