class BigInt{ public: vector<int> a; BigInt operator+(const BigInt& b) { BigInt r; int s=max(a.size(),b.a.size()); for(int i=0;i<s;i++) { r.a.push_bac ...
分类:
其他好文 时间:
2021-03-16 11:45:03
阅读次数:
0
http://www.pipioj.online/problem.php?id=1023 每次把当前的放在能排的当中最矮的一队里就ok 1 #define IO std::ios::sync_with_stdio(0); 2 #define bug(x) cout<<#x<<" is "<<x<<e ...
分类:
其他好文 时间:
2021-03-15 11:32:55
阅读次数:
0
PAT 2021 春季 甲级 7-1 Arithmetic Progression of Primes ...
分类:
其他好文 时间:
2021-03-15 11:19:56
阅读次数:
0
二叉树的前序、中序、后序遍历 每个节点会被经过3次,前序、中序、后序的区别在于:在哪一次经过该节点时对其进行访问。 2. 递归实现 traverseRecursive(BiTrNode<T>* node): basecase: if(node == nullptr) return; general: ...
分类:
编程语言 时间:
2021-03-15 11:08:04
阅读次数:
0
消息的分发策略最基础的就是推,拉机制,这有个最好的理解就是git -> pull 和 push 在这基础上制定了有5中消息的分发策略。(√ 支持,× 不支持) 1.发布订阅:生产者生产多少条消息,每个消费者就消费多少条消息(push) 2.轮询分发:消息数/消费者数 = 每个消费者消费的消息数 (除 ...
分类:
其他好文 时间:
2021-03-12 12:15:59
阅读次数:
0
APICloud 3.0发布了全翻译式跨平台App引擎Deep Engine3.0和多端开发框架AVM,开发者可以一个技术栈同时开发 Android & iOS 原生 App、小程序、H5和iOS 轻 App,强大的 Native渲染引擎为App&小程序提供了更出色的性能和体验。 我们鼓励开发者将自 ...
Markdown 教程 https://testerhome.com/markdown Guide 这是一篇讲解如何正确使用 Markdown 的排版示例,学会这个很有必要,能让你的文章有更佳清晰的排版。 引用文本:Markdown is a text formatting syntax inspi ...
分类:
其他好文 时间:
2021-03-10 13:33:42
阅读次数:
0
http://www.pipioj.online/problem.php?id=1026 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<<e ...
分类:
其他好文 时间:
2021-03-10 13:26:07
阅读次数:
0
题目链接:https://www.acwing.com/problem/content/4/ 题目描述: 解题思路:与前两个背包问题类似(题目链接:https://www.cnblogs.com/ygsr/p/14502222.html) 与前两个题比,这个题多添加一个for循环用来读取物品个数。 ...
参考:git 如何修改本地分支名称与远程分支名称 修改本地分支名: git branch -m old_name new_name 删除远程分支: git push origin :old_name 重新创建一个新的远程分支 也就是将你现在所在的分支,再push一遍 git push origin ...
分类:
其他好文 时间:
2021-03-10 13:01:41
阅读次数:
0