摘要: 思路:1.将两个大数分别存入两个字符串数组中,倒序放入两个整型数组中。 2.在加法运算时,一一对应相加放入ans[ ],满十进一,记录len_ans。 3.判断要不要保留最高位。 int temp_a[1005]; int temp_b[1005]; int ans[1005] = {0}; voi 阅读全文
posted @ 2020-03-02 14:02 天子笑!分你一坛 阅读(156) 评论(0) 推荐(0) 编辑