[编程入门]三个字符串的排序-题解(C++代码) 摘要:```cpp #include #include using namespace std; bool cmp(string a,string b){ return a.compa…… 题解列表 2020年04月06日 0 点赞 0 评论 903 浏览 评分:0.0
[编程入门]自定义函数之整数处理-题解(C++代码) 摘要:```cpp #include using namespace std; void cin_p(int *p){ for(int i=0;i>p[i]; } } voi…… 题解列表 2020年04月06日 0 点赞 0 评论 966 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C++代码) 摘要:```cpp #include using namespace std; void k(int *a,int m,int n,int *p){ int j=n-m; i…… 题解列表 2020年04月06日 0 点赞 0 评论 869 浏览 评分:0.0
[竞赛入门]简单的a+b-题解(C++代码) 摘要:###c++使用方法 ``` #include using namespace std; int main(void) { int a,b,c; int i=0; while(c…… 题解列表 2020年04月06日 0 点赞 0 评论 713 浏览 评分:8.0
[编程入门]分段函数求值-题解(C++代码) 摘要: ``` #include using namespace std; int main(void) { int x,y; cin>>x; if(x…… 题解列表 2020年04月06日 0 点赞 0 评论 1035 浏览 评分:8.4
[编程入门]报数问题-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ queue q; int n; cin>>…… 题解列表 2020年04月06日 0 点赞 0 评论 766 浏览 评分:0.0
The 3n + 1 problem -题解(C++代码) 摘要:题目的意思是 找出从i到j中哪一个数的循环次数最多 并输出它的次数 注意点:(1)将i和j排序 (2)排序后输出的仍要是i j,即顺序不能变。 ```cpp #include using na…… 题解列表 2020年04月06日 0 点赞 0 评论 695 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C++代码) 摘要:```cpp #include using namespace std; bool leap(int year){ if(year%100==0&&year%4!=0||year%4…… 题解列表 2020年04月06日 0 点赞 0 评论 742 浏览 评分:0.0
字符串的输入输出处理-题解(C++代码) 摘要: **(1)gets()函数和puts()函数的运用** 参照热门优质题解 PS--学到输入字符串的新写法:scanf("%[^\n]", strtmp); ```cpp #incl…… 题解列表 2020年04月06日 0 点赞 0 评论 978 浏览 评分:0.0
[编程入门]结构体之成绩记录-题解(C++代码) 摘要:```cpp #include using namespace std; typedef struct Student{ char num[30]; char name[3…… 题解列表 2020年04月06日 0 点赞 0 评论 667 浏览 评分:0.0