programmer group

Chapter 5: divisibility and the greatest common factor (1)

Suppose m and N are integers,m\neq 0。 If n is a multiple of M, there exists an integer k such thatn= mk。 If M is divisible by N, we write it asm|n; ifmDo not dividen, we remember asm\nmid n。 For example, because6=3·2, so3|6。6The factor of is1,2,3。 Because there is no5A multiple of is equal to7, so5\nmid7。 to be divisible bynIs callednFactor.If we know two integers, we can find their common factor, that is, divide them by...

programmer group

Chapter 6: linear equations and the greatest common factor (2)

Now, we know the equation ax+by=gcd(a,b) There is always an integer solutionxAndyHow many solutions are there and how to express them?We are mutually exclusiveaAndbLet gogcd(a,b)=1, assuming(x_1,y_1)It’s an equationax+by=1A solution of. adoptx_1subtractbSum of multiples ofy_1addaOther solutions can be obtained. In other words, for any integerkWe get a new solution(x_1+kb,y_1-ka)By...

programmer group

Vue + gaude map to realize track playback and play progress bar / multiple / time

Demand:1: Track playback: play, pause, resume2: Progress bar, track playback, progress bar should also play, track stop playing, progress bar should be suspended.3: Multiple: not playing selection multiple, playing selection multiple, pause selection multiple.4: Play time In the Gaode API example, only the simplest play, pause and continue to play is required.Therefore, it is necessary to implement the functions according to the...

github

webpack-multiple-page-boilerplate

b5156/webpack-multiple-page-boilerplate webpack-multiple-page-boilerplate Users starred: 16Users forked: 2Users watching: 16Updated at: 2020-05-30 19:48:23 webpack multiple page boilerplate This is a webpack multiple page boilerplate,we don't need router. 这是一个使用webpack构建多页面样版,避免了使用router。 usage Just add the options to entries.js config as follows ( base on html-webpack-plugin)...