summaryrefslogtreecommitdiff
path: root/content/math/gcd-lcm.cpp
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2025-02-13 22:20:30 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2025-02-13 22:20:30 +0100
commit67f9885f382d2227675abbcd469d9bdd219cb429 (patch)
treec6d28b6d2ef956b9a3f672ad251bce3a62cbed46 /content/math/gcd-lcm.cpp
parent04ca8f7bd16c0c855f604188d617a1bf2e8eacfd (diff)
remove gcd/lcm
Diffstat (limited to 'content/math/gcd-lcm.cpp')
-rw-r--r--content/math/gcd-lcm.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/content/math/gcd-lcm.cpp b/content/math/gcd-lcm.cpp
deleted file mode 100644
index 1ee7ef5..0000000
--- a/content/math/gcd-lcm.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-ll gcd(ll a, ll b) { return b == 0 ? a : gcd(b, a % b); }
-ll lcm(ll a, ll b) { return a * (b / gcd(a, b)); }