题解列表
1048-自定义函数之字符串拷贝
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;string copy(int m,char a[]){ s……
1049-结构体之时间设计
摘要:解题思路:注意事项:参考代码:/*天数问题:1、3、5、7、8、10、12月:31天4、6、9、11月:30天2月:非闰年有28天,闰年有29天 闰年特点:1) 4的倍数,不是100的倍数2) 400……
1050-结构体之成绩记录
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char num[10]; char name……
1051-结构体之成绩统计2
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char num[10]; char name……
1112-一元二次方程
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath> using namespace std;int main(){ int a,b,c; cin >>a ……