题解列表

筛选

字符串分类统计(C++简单题解)

摘要:解题思路:对字符串进行带空格输入,接着判断类型进行统计,最后输出;注意事项:需要使用getline进行输入参考代码:#include<iostream>#include<fstream>#includ……

自定义函数之数字后移(懒人简单C++)

摘要:解题思路:根据题意输入,可以先输出后面需要输在开头的数,接着按原顺序输出剩下的数注意事项:for语句的应用参考代码:#include<iostream>#include<fstream>#includ……

蓝桥杯算法训练VIP-水仙花

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c,d;int main() {    cin>>a;    b=a……

二级C语言-温度转换

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

二级C语言-温度转换

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