自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 字节跳动客户端面试经历

字节跳动面试经历一面页和段区别进程和线程区别三次握手四次挥手c++面向对象的特性引用和指针的区别堆和栈代码题:二叉树的最长路径代码题:给出一个数组,把他分为前后两部分,使得前部分的最大值和后部分最大值的差的绝对值最大,输出这个最大值二面代码题:手写堆排序代码题:给出一个零一矩阵,求最大的全一正方形的边长udp和tcp的区别tcp怎么保证可靠性说一下死锁和死锁避免银行家算法三面线程通信的方式浏览器输入一个网址,会发生什么http和https的区别死锁发生的必

2021-04-28 17:32:39 509 1

原创 E. Modular Stability

E. Modular StabilityWe definexmodyxmodyas the remainder of division ofxxbyyy(%%operator in C++ or Java,modoperator in Pascal).Let's call an array of positive integers[a1,a2,…,ak][a1,a2,…,ak]stableif for every permutationppof integers from...

2020-05-29 14:18:19 550

原创 gcd(i,j)的素因子个数小于等于p的i,j对数

C - MophuesHDU - 4746As we know, any positive integer C ( C >= 2 ) can be written as the multiply of some prime numbers:C = p1×p2× p3× ... × pkwhich p1, p2 ... pk are all prime numbers.For example, if C = 24, then:24 = 2 × 2 × 2 × 3...

2020-05-22 14:19:55 328

原创 I - 吉哥系列故事――恨7不成妻 HDU - 4507 (数位dp统计满足条件的数的平方和)

I - 吉哥系列故事――恨7不成妻 HDU - 4507单身!  依然单身!  吉哥依然单身!  DS级码农吉哥依然单身!  所以,他生平最恨情人节,不管是214还是77,他都讨厌!    吉哥观察了214和77这两个数,发现:  2+1+4=7  7+7=7*2  77=7*11  最终,他发现原来这一切归根到底都是因为和7有关!所以,他现在甚至讨厌一切和7有关的数! ...

2020-04-22 13:21:36 235

原创 在s中分解出俩个子序列s1和s2使得s1+s2=t

C - Erase SubsequencesYou are given a string s. You can build new string p from s using the following operation no more than two times:choose any subsequence si1,si2,…,sik where 1≤i1<i2<⋯<i...

2020-04-15 16:01:43 612

原创 邮政局选址

I - Post Office POJ - 1160There is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the position of each village is identified with a single ...

2020-04-13 17:24:13 250

原创 F. Kate and imperfection

F. Kate and imperfectiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputKate has a set S of n integers {1,…,n}.She thinks that imperfection o...

2020-04-10 15:48:56 271 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除