博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2006年12月17日

摘要: #include using namespace std;int mul1[5]; // 第一个乘数int mul2; // 第二个乘数int result[5]; // 结果bool used[10]; // 记录每个数字是否用过/**//** 对乘数的每一位进行列举 **/// digit 是位数: 个十百千分别是1234// carry 是上一位... 阅读全文

posted @ 2006-12-17 22:59 空气 阅读(241) 评论(0) 推荐(0) 编辑