题解列表

筛选

编写题解 2846: 统计数字字符个数

摘要:解题思路:str.isdigit(),判断字符是否为数字注意事项:参考代码:n=input() count=0 for i in n:     if i.isdigit(): #判断字符是否为数……

简单的数学题

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll x,y;int main(){   ……

自定义函数(C++)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<iomanip>double fact(double n)         ……

没人写,就我来吧。

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,t,b[1005]={0}; cin>>n; i……

1157: 亲和数

摘要:```cpp #include #include using namespace std; int main() { int i,M,j,k; cin>>M; ……

1158: 作业调度方案

摘要:```cpp #include using namespace std; struct node { int id,cost; } w[21][21]; int m,n,ord……

温度转换(C++)

摘要:解题思路:注意事项:输出格式参考代码:#include<iostream>using namespace std;float cyof(int c){    float f;    f=32+c*9/……

成绩归类(c++)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n1=0,n2=0,n3=0,n;    do    {……

阶乘公式求职(c++)(怀氏)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;double fact(double n)                         {……