本文分类:news发布日期:2025/11/23 17:29:00
相关文章
使用代码查询快递信息的方法(与查询天气的方式雷同)
第一步:在标签中添加JS文件具体内容如下:第二步:写出大概的框架第三步:写JS部分(1)定义appkey和API地址(2)校验输入和显示加载状态(3)调用API和解析返回数据(4)展示拼接内容和判断内容是否正确第四步:保存并运行查…
建站知识
2025/11/23 17:28:43
1101. Quick Sort (25)
1101. Quick Sort (25)#include <iostream>
#include <vector>
#include <algorithm>using namespace std;int num[100010], low[100010], high[100010];int main()
{int n;scanf("%d", &…
建站知识
2025/11/23 17:27:54
1100. Mars Numbers (20)
1100. Mars Numbers (20)#include <iostream>
#include <string.h>using namespace std;char ch[2][13][5] =
{"tret", "jan", "feb", "mar", "apr",…
建站知识
2025/11/23 17:27:44
1083. List Grades (25)
1083. List Grades (25)#include <iostream>using namespace std;struct node
{char name[20], id[20];
}stu[110];int flag[110];int main()
{int n;scanf("%d", &n);int i, grade;node nod;for(…
建站知识
2025/11/23 17:27:24
C++的3种继承方式
C++的3种继承方式
在 C++ 中,继承方式(public、protected、private)决定了基类成员在派生类中的访问权限,以及派生类对象对基类成员的访问权限。正确选择继承方式是实现封装、复用和多态的关键。以下是三种继承方式…
建站知识
2025/11/23 17:26:14
1082. Read Number in Chinese (25)
1082. Read Number in Chinese (25)#include <iostream>
#include <string.h>using namespace std;int first = 1;void setfirst()
{if(first == 1){first = 0;}else{printf(" ");}
}int main()…
建站知识
2025/11/23 17:25:28
1081. Rational Sum (20)
1081. Rational Sum (20)#include <iostream>using namespace std;long long getsame(long long a, long long b)
{if(b != 0){return getsame(b, a % b);}else{return a;}
}void simplify(long long &a, lo…
建站知识
2025/11/23 17:23:53

