编写题解 2846: 统计数字字符个数 摘要:解题思路:str.isdigit(),判断字符是否为数字注意事项:参考代码:n=input() count=0 for i in n: if i.isdigit(): #判断字符是否为数…… 题解列表 2022年10月23日 0 点赞 0 评论 1177 浏览 评分:9.9
编写题解 2847: 找第一个只出现一次的字符 摘要:解题思路:Python count() 方法用于统计字符串里某个字符或子字符串出现的次数。注意事项:1)语法:str.count(sub, start= 0,end=len(string))2)参数解…… 题解列表 2022年10月23日 0 点赞 0 评论 561 浏览 评分:7.5
简单的数学题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll x,y;int main(){ …… 题解列表 2022年10月23日 0 点赞 0 评论 322 浏览 评分:9.9
JAVA解三个数最大值 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年10月23日 0 点赞 0 评论 295 浏览 评分:0.0
自定义函数(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<iomanip>double fact(double n) …… 题解列表 2022年10月23日 0 点赞 0 评论 322 浏览 评分:9.9
密码破译JAVA 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年10月23日 0 点赞 0 评论 350 浏览 评分:0.0
分段函数(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<cmath>#include <iomanip>int main(){ …… 题解列表 2022年10月24日 0 点赞 0 评论 735 浏览 评分:8.4
没人写,就我来吧。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,t,b[1005]={0}; cin>>n; i…… 题解列表 2022年10月24日 0 点赞 0 评论 384 浏览 评分:9.9
1157: 亲和数 摘要:```cpp #include #include using namespace std; int main() { int i,M,j,k; cin>>M; …… 题解列表 2022年10月24日 0 点赞 2 评论 312 浏览 评分: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 评论 544 浏览 评分:9.9