书山有径勤为路>>>>>>>>

<<<<<<<<学海无涯苦作舟!

2011年10月12日

大整数乘法——简单

摘要: 写这个程序的时候有三个关键点,知道了这个,你Win, Or, 你Lose!我将它们一一注释在了代码中。View Code #include "iostream"#include "cstring"#include "string"using namespace std;#define maxlen 200int a[maxlen]; int b[maxlen]; int c[2*maxlen+1]; //这个地方也是个关键,一定要多加一个正数,不然错string s1;string s2;int main(){ while(cin&g 阅读全文

posted @ 2011-10-12 11:24 More study needed. 阅读(311) 评论(0) 推荐(0) 编辑

导航

书山有径勤为路>>>>>>>>

<<<<<<<<学海无涯苦作舟!