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

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

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. 阅读(312) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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

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

点击右上角即可分享
微信分享提示