自定义函数(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<iomanip>double fact(double n) …… 题解列表 2022年10月23日 0 点赞 0 评论 390 浏览 评分:9.9
没人写,就我来吧。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,t,b[1005]={0}; cin>>n; i…… 题解列表 2022年10月24日 0 点赞 0 评论 447 浏览 评分:9.9
1157: 亲和数 摘要:```cpp #include #include using namespace std; int main() { int i,M,j,k; cin>>M; …… 题解列表 2022年10月24日 0 点赞 2 评论 362 浏览 评分:9.9
1158: 作业调度方案 摘要:```cpp #include using namespace std; struct node { int id,cost; } w[21][21]; int m,n,ord…… 题解列表 2022年10月24日 0 点赞 0 评论 610 浏览 评分:9.9
温度转换(C++) 摘要:解题思路:注意事项:输出格式参考代码:#include<iostream>using namespace std;float cyof(int c){ float f; f=32+c*9/…… 题解列表 2022年10月24日 0 点赞 0 评论 433 浏览 评分:9.9
成绩归类(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n1=0,n2=0,n3=0,n; do {…… 题解列表 2022年10月24日 0 点赞 0 评论 1072 浏览 评分:9.9
阶乘公式求职(c++)(怀氏) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;double fact(double n) {…… 题解列表 2022年10月24日 0 点赞 0 评论 447 浏览 评分:9.9
题目 1025: [编程入门]数组插入处理—常规求解方法 摘要:解题思路:for循环注意事项:考虑到等于的情况,等于情况下欲插入的数j放在后面参考代码:#include<stdio.h> int main(void) { int arr[10], i,…… 题解列表 2022年10月24日 0 点赞 0 评论 475 浏览 评分:9.9
题解 1126: C语言训练-字符串正反连接 按题要求建新串 摘要:解题思路: 用两个数组存放字符串,再用新数组连接起来 注意事项: 参考代码: #include #include int main() { …… 题解列表 2022年10月24日 0 点赞 0 评论 759 浏览 评分:9.9
药房管理c语言版 摘要:解题思路:本题的意思是如果病人要的药不超过总量,则给他,如果超过则不给他换下一个人继续。注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i,sum=…… 题解列表 2022年10月24日 0 点赞 0 评论 780 浏览 评分:9.9