题解列表

筛选

结构体之成绩统计2

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;struct student{ string Id; stri……

运用c++中sort函数排序

摘要:解题思路:将n个数进行排序,只需将n个数放入数组内·,运用c++中sort(begin,end)函数进行排序,然后输出即可注意事项:sort(begin,end)函数中begin是数组首地址,end是……

第一个HelloWorld程序

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"**************************"<……

简单的a+b 十分简单

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ cout<<a……

你的第一个C语言程序

摘要:解题思路:其实很简单,只要你掌握了最简单的输入输出代码就行注意事项:参考代码:#include<iostream>                using namespace std;       ……

比较完善的算法

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;bool ifhuiwen(int s[],int n){ //s从下标1开始,n表示长度 ……

小学生的c++题解

摘要:解题思路:无注意事项:无参考代码#include<iostream>using namespace std;int main(){ char a; int b; float c; double d; ……

xxs写的题解

摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){  float a;  cin>>a;  printf("%.3f"……