TLE: csu 1211 大整数开平方练习
摘要:
模拟手工开方,必须使用大数,否则只用sqrt()即可。代码有点乱,结果应该是正确的,但是。。TLE了。。。接下来应该考虑把代码变短些,除去不必要的运算。要还是不行,怎么办啊。。。。欢迎各位大牛测试,谢谢指点!/* 大整数开方 */# include <stdio.h># include <string.h># include <stdlib.h># include <math.h># include <time.h># define MAXN 1001void bigN_sqrt(char *s);int bigN_cmp(char 阅读全文
posted @ 2012-03-03 17:19 getgoing 阅读(547) 评论(0) 推荐(0)
浙公网安备 33010602011771号