高精度乘法(两正数相乘,一大一小) 摘要:``` #include #include using namespace std; vector mul(vector &A,int b) { vector C; int t=…… 文章列表 2023年01月05日 0 点赞 0 评论 150 浏览 评分:9.9
高精度减法(c++简洁版)(yxcnb) 摘要:``` #include #include using namespace std; //当A>=B. bool cmp(vector &A,vector &B) { if(A.s…… 文章列表 2023年01月06日 0 点赞 0 评论 145 浏览 评分:9.9
高精度除法(大数除以小数)输出商和余数(yxcnb) 摘要:``` #include #include #include using namespace std; vector div(vector &A,int b,int &r) { …… 文章列表 2023年01月06日 0 点赞 0 评论 222 浏览 评分:9.9
一维差分(模板)(yxcnb) 摘要:``` #include using namespace std; const int N = 1e5+10; int a[N],b[N]; int n; void cha(int l,…… 文章列表 2023年01月08日 0 点赞 0 评论 125 浏览 评分:9.9
数组------------·········-------------- 摘要:数组,就是存数字的地方。用数组分3种,即:输入输出数组,调用数组和创建数组。创建数组很简单,写法为:int a[101]/int a[10].调用数组的方法有很多种,例如:for(int i=1;i<…… 文章列表 2023年01月10日 0 点赞 0 评论 169 浏览 评分:9.9
第十四届蓝桥杯省赛备赛训练1-第一题(C/C++) 摘要:# 题目描述 **给定一个长度为n的数列,将这个数列按从小到大的顺序排列。1 n; for (int i = 0; i < n; i ++) { int tmp = 0; ci…… 文章列表 2023年01月10日 0 点赞 0 评论 228 浏览 评分:9.9
第十四届蓝桥杯省赛备赛训练1-第四题(C/C++) 摘要:# 题目描述 **有一头母牛,它每年年初生一头小母牛。每头小母牛从第四个年头开始,每年年初也生一头小母牛。请编程实现在第n年的时候,共有多少头母牛?** ## 输入 **输入数据由多个测试实例组…… 文章列表 2023年01月10日 0 点赞 0 评论 155 浏览 评分:9.9
第十四届蓝桥杯省赛备赛训练1-第五题(C/C++) 摘要:# 题目描述 **小h前往美国参加了蓝桥杯国际赛。小h的女朋友发现小h上午十点出发,上午十二点到达美国,于是感叹到“现在飞机飞得真快,两小时就能到美国了”。** **小h对超音速飞行感到十分恐…… 文章列表 2023年01月10日 0 点赞 0 评论 217 浏览 评分:9.9
使用java爬取英雄联盟原皮肤 摘要://记录一下,防止重写 import com.gargoylesoftware.htmlunit.NicelyResynchronizingAjaxController; import com…… 文章列表 2023年01月28日 0 点赞 0 评论 204 浏览 评分:9.9
使用java爬取本站离线题库 摘要:这几天刚接触爬虫,好奇看了下本站的前端代码,发现是静态网页,直接使用jsoup就可以。先在pom导入依赖<dependency> <groupId>org.jsoup</groupId> …… 文章列表 2023年01月29日 0 点赞 0 评论 263 浏览 评分:9.9