We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
挺多东西时间长了不接触都忘记了
10÷6=1...4 10是被除数,6是除数,1是商,4是余数
10÷6=1...4
4 == 10 % 6
两数相除,除数变被除数,余数变除数
设余数为x
n ----> x m % n = -> n <-----------x
!function() { const log = console.log function gcd(m,n) { while(n > 0){ let x = n n = m % n m = x } return m } log(gcd(12,16)) }()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
挺多东西时间长了不接触都忘记了
10÷6=1...4
10是被除数,6是除数,1是商,4是余数
4 == 10 % 6
两数相除,除数变被除数,余数变除数
设余数为x
The text was updated successfully, but these errors were encountered: