|
|
1.1 root 1: long
2: lcm(a, b)
3: {
4: long c;
5: if(a==0 && b==0)
6: return(0L);
7: c = a/gcd(a,b)*(long)b;
8: return(c>=0? c: -c);
9: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.