Part1.【 thread 】(#include <thread>) C++中的多线程,常通过thread类来定义一个thread对象(子线程)来实现。 thread t1 (func, arg1, arg2...); 其中func可以是一个函数名,或者函数对象;后边跟这个对象的参数; 在定义一个 Read More
posted @ 2020-05-19 21:49
Yx_xixi
Views(753)
Comments(0)
Diggs(0)
Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Return 0 if the array contains less than 2 el Read More
posted @ 2020-05-19 18:21
Yx_xixi
Views(200)
Comments(0)
Diggs(0)
Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d.i - x Read More
posted @ 2020-05-19 17:53
Yx_xixi
Views(207)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号