1
0

ready for debug

This commit is contained in:
2021-02-10 16:51:11 +08:00
parent ae470e2638
commit 288df0c4b7
4 changed files with 379 additions and 41 deletions

View File

@@ -51,6 +51,15 @@ function SmarterShowHide(boolean, element) {
else element.hide();
}
function GCD(a, b) {
if (b == 0) return a;
return GCD(b, a % b);
}
function LCM(a, b) {
return a / GCD(a, b) * b;
}
String.prototype.format = function() {
var e = arguments;
return !!this && this.replace(