题解列表

筛选

2867: 单词的长度

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

三个字符串的排序

摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>using namespace std;//自定义函数,实现比较a……

2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x1,y1,x2,y2,x3,y3,a……

两行解决字符替换

摘要:解题思路:0.0注意事项:奥利给加油!参考代码:n,a,b=map(str,input().split())print(n.replace(a,b))……

统计数字字符

摘要:解题思路:0-9 10个数注意事项:参考代码:s=input()b=0for i in range(0,10):    cn=s.count(str(i))    b+=cnprint(b)……