Commit 0cf2268
authored
Add lcm also along with gcd
Lcm can be very easily obtained by simple equation.
n1*n2 = gcd*lcm1 parent 04003e3 commit 0cf2268Copy full SHA for 0cf2268
File tree
Expand file treeCollapse file tree
1 file changed
+10
-3
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+10
-3
lines changedOpen diff view settings
Collapse file
+10-3Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
21 | 26 | |
22 | 27 | |
23 | 28 | |
24 | 29 | |
25 | 30 | |
26 | 31 | |
27 | | - |
| 32 | + |
| 33 | + |
| 34 | + |
28 | 35 | |
29 | 36 | |
30 | 37 | |
31 | | - |
| 38 | + |
32 | 39 | |
33 | 40 | |
0 commit comments