1070 Mooncake
原题 Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional mooncakes according to the region's culture...
发布时间:2023-05-10
原题 Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional mooncakes according to the region's culture...
发布时间:2023-05-10
原题 It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know immediately if ...
发布时间:2023-05-10
原题 A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the root that results in a highest tree....
发布时间:2023-05-10
例 209. 长度最小的子数组o(nlogn)的解法如下: class Solution { public: int minSubArrayLen(int s, vector<int>& nums) { int n = nums.size(); if (n == 0) { return 0;... .
发布时间:2023-05-10
题目编程实现下述函数功能接口: int getMostJumps(int *inputArray,int n,int *&outputIndexArray,int m); 输入: n个不小于0的整数,(n为动态可变),输出:相邻两个数字的变化的绝对值,按照从大到小的...
发布时间:2023-05-10
6010. 完成旅途的最少时间 282场周赛中的第三题,比赛中没做出来,提交基本都是超时,最后半小时想出来要用二分查找但是很多莫名bug,下午看了别人的题解自己做还是很多bug,提交第16次终于通过了,因此记录一下...
发布时间:2023-05-10
4. 寻找两个正序数组的中位数 思路 有点难的题,用到划分的思想,重点是找到一种划分使得: num1中的分割线左<num2中的分割线右; num2中的分割线左<num1中的分割线右。...根据题解,只考虑移动一个数组中的...
发布时间:2023-05-10
6031. 找出数组中的所有 K 近邻下标 究极简单题,用时7分37秒。 我的方法:先把满足条件2的单独存一个数组,再一边遍历新数组,一边对着原数组逐一检查是否符合条件1。 总结:多此一举,既然都是两次循环,直接两...
发布时间:2023-05-10
关于电容讨论: https://www.amobbs.com/thread-5614588-1-1.html?_dsign=cdf50644 电容选用原则: 1、高频用C0G/NP0,低频用X7R,实在不行才X5R,从来不碰Y5V之类的东西 2、特殊接地场合用2000V的,一般都用50V...
发布时间:2022-10-01
为进一步规范公司的CAD制图标准,解决计算机资源共享问题,从而进一步提高设计效率,特制定《CAD制图标准》。01适用范围并以CAD方式制图的初步设计、施工图设计阶段的设计图纸。02引用标准下列标准所包含的条文,...
发布时间:2022-09-05