- 博客(1)
- 收藏
- 关注
原创 高精度除法
思路 求循环节需要模拟循环小数的求解过程。那么什么时候会出现循环呢?在除的过程中,除数b是不变的,而被除数a一直在变化,那么当a变换为之前出现过的某个值时,就出现了循环。 #include #include #include #include using namespace std; const int N = 3000; int main(void) { int a, b
2017-01-19 22:31:46
257
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人