[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<cmath>int main(){ int num = 0; int tem…… 题解列表 2023年06月18日 0 点赞 0 评论 229 浏览 评分:0.0
动态规划-货币系统 摘要: #include #include using namespace std; const int N =310; int f[N]; int …… 题解列表 2023年06月18日 0 点赞 0 评论 334 浏览 评分:9.9
引用上面博主的,感觉进步了 摘要: #include #include #include using namespace std; const int N =200; int f…… 题解列表 2023年06月18日 0 点赞 0 评论 386 浏览 评分:9.9
a+b的最简方法 摘要:/这题是一道非常经典的题目,是编程初学者的必会题。(大佬请屏蔽)//首先头文件、名字空间我就不说了,这是得会背的内容,如下:#include<bits/stdc++.h>//这是一个万能头文件,可以背…… 题解列表 2023年06月18日 1 点赞 1 评论 496 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ float score[7]; char name[50];};int main(){ struct s…… 题解列表 2023年06月18日 0 点赞 0 评论 287 浏览 评分:0.0
二级编程,分段函数, 摘要:解题思路:注意事项:记得加头文件,更改数据类型参考代码:#include<iostream>#include <cmath>//头文件,必加 #include <iomanip>//同上using n…… 题解列表 2023年06月18日 0 点赞 0 评论 319 浏览 评分:6.0
利润计算,c++求解 ,if,elseif双分支解题 摘要:解题思路:注意事项:可能编译时会显示出错,尝试运行,若还错请将有y(x)函数并入main参考代码:#include<iostream>using namespace std;int y(int x)/…… 题解列表 2023年06月18日 0 点赞 0 评论 430 浏览 评分:0.0
我奶奶都会 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int i; char a[300]; gets(a)…… 题解列表 2023年06月18日 0 点赞 0 评论 874 浏览 评分:9.9
小学生解法,刚学一周C,不会太复杂的 摘要:解题思路:将两行字符串相同的部分去除,剩下的两行字符串,哪个的字符数多,就以哪行的字符串数为操作次数(哈哈自己推下为什么)然后通过for循环比较a[i]b[i],要分开依次寻找出现重复的字符,统计su…… 题解列表 2023年06月18日 0 点赞 3 评论 613 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i; float p = 1, q = 2,sum=2.0,temp; scan…… 题解列表 2023年06月17日 0 点赞 0 评论 321 浏览 评分:6.0