编写题解 2927: 二分法求函数的零点 摘要:解题思路:主函数-f(x)函数-ok函数循环注意事项: 二分法参考代码:#include<stdio.h>double f(double x);void ok(double a,double b); …… 题解列表 2022年10月23日 0 点赞 0 评论 777 浏览 评分:9.9
编写题解 2846: 统计数字字符个数 摘要:解题思路:str.isdigit(),判断字符是否为数字注意事项:参考代码:n=input() count=0 for i in n: if i.isdigit(): #判断字符是否为数…… 题解列表 2022年10月23日 0 点赞 0 评论 1191 浏览 评分:9.9
简单的数学题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll x,y;int main(){ …… 题解列表 2022年10月23日 0 点赞 0 评论 335 浏览 评分:9.9
自定义函数(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<iomanip>double fact(double n) …… 题解列表 2022年10月23日 0 点赞 0 评论 330 浏览 评分: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 评论 389 浏览 评分:9.9
1157: 亲和数 摘要:```cpp #include #include using namespace std; int main() { int i,M,j,k; cin>>M; …… 题解列表 2022年10月24日 0 点赞 2 评论 319 浏览 评分: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 评论 558 浏览 评分:9.9
温度转换(C++) 摘要:解题思路:注意事项:输出格式参考代码:#include<iostream>using namespace std;float cyof(int c){ float f; f=32+c*9/…… 题解列表 2022年10月24日 0 点赞 0 评论 357 浏览 评分:9.9
成绩归类(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n1=0,n2=0,n3=0,n; do {…… 题解列表 2022年10月24日 0 点赞 0 评论 1006 浏览 评分:9.9
阶乘公式求职(c++)(怀氏) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;double fact(double n) {…… 题解列表 2022年10月24日 0 点赞 0 评论 381 浏览 评分:9.9