摘要: http://acm.hdu.edu.cn/showproblem.php?pid=4403题意:给定 一个 数字字符串 ,在这些 字符间添加 一个 加号 和 多个 等号 求 有多少种 方法 得到 等式 使得左右相等 如 1212可以 分解为 12=12" and "1+2=1+2".题解 : 暴力枚举 ,因为i额 数据并不大 最多 15 位数 所以 枚举就可以1#include<cstdio>2#include<cstring>3#include<cmath>4#include<iostream>5#include 阅读全文
posted @ 2012-09-23 10:49 Szz 阅读(275) 评论(0) 推荐(0)