- 博客(2)
- 收藏
- 关注
原创 acm基础数学
1.求最小公倍数数学上:LCM(A,B)=A*B/gcd(A,B)//A*B可能会有超出数据范围改良:LCM(A,B)=A/gcd(A,B)*Bint gcd(int da,int xiao){ int temp; while(xiao!=0) { temp=da%xiao; da=xiao; xiao=temp; } return da;}大小位置可以改变,循
2022-05-03 02:22:22
248
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1