Hello, world!(怀氏c++) 摘要:解题思路:把数字转换成ASCI码值,就是对应的char类型值注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; …… 题解列表 2022年10月24日 0 点赞 0 评论 573 浏览 评分:9.9
阶乘公式求职(c++)(怀氏) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;double fact(double n) {…… 题解列表 2022年10月24日 0 点赞 0 评论 579 浏览 评分:9.9
成绩归类(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n1=0,n2=0,n3=0,n; do {…… 题解列表 2022年10月24日 0 点赞 0 评论 1192 浏览 评分:9.9
编写题解 1131: C语言训练-斐波纳契数列---使用STL的方法 ```cpp#include#includeusingnamespacestd;intFabona(inta){if(a==0||a==1)return1;elsereturnFabona(a-1)+Fabona(a-2);}intmain(){stacks;inta, 题解列表 2022年10月24日 0 点赞 0 评论 519 浏览 评分:0.0
寻找矩阵最值(C++)简单思路 摘要:解题思路:用二维数组,具体看代码注释注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,i,j,t,a[10][1…… 题解列表 2022年10月24日 0 点赞 0 评论 544 浏览 评分:8.0
编写题解 1055: 二级C语言-进制转换 摘要:```cpp #include #include using namespace std; int main() { stacks; int a; cin >> a; …… 题解列表 2022年10月24日 0 点赞 0 评论 437 浏览 评分:0.0
温度转换(C++) 摘要:解题思路:注意事项:输出格式参考代码:#include<iostream>using namespace std;float cyof(int c){ float f; f=32+c*9/…… 题解列表 2022年10月24日 0 点赞 0 评论 566 浏览 评分:9.9
1158: 作业调度方案 ```cpp#includeusingnamespacestd;structnode{intid,cost;}w[21][21];intm,n,order[500],step[21],last_time[21],mac[21][100000], 题解列表 2022年10月24日 0 点赞 0 评论 746 浏览 评分:9.9
1157: 亲和数 摘要:```cpp #include #include using namespace std; int main() { int i,M,j,k; cin>>M; …… 题解列表 2022年10月24日 0 点赞 2 评论 443 浏览 评分: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 评论 573 浏览 评分:9.9