题解列表

筛选

2925: 单词排序

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; struct u {     char str[50];     st……

string字符串的运用

摘要:解题思路:用c++中的string容器存储字符串求出数字和ans,并取余数将余数转城字符类型:  int转char:char=int+&#39;0&#39;                      ……

2774: 计算三角形面积

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

1669: 求圆的面积

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>//要用万能头!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!using namesp……

三个字符串的排序

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

2867: 单词的长度

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