摘要:
简单的dp 但是一个大数加法 套用了末位大牛的类模板#include #include #include #define maxs 10005#define maxn 110using namespace std;char X[maxs], Z[maxn];struct bign{ int l... 阅读全文
posted @ 2013-08-01 19:50
xlc2845
阅读(114)
评论(0)
推荐(0)
摘要:
这个......小学生就会的 坑在输入输出了 两个数之间可能不止一个空格....wa了好几遍啊#include #include #include using namespace std;int g[1130][1130],dp[1130][1130];char str[1130];int main... 阅读全文
posted @ 2013-08-01 19:11
xlc2845
阅读(101)
评论(0)
推荐(0)
摘要:
数据量小 dfs水过#include #include #include using namespace std;struct pp{ int x,y; void f(int a, int b) { x = a; y = b; }};int vis... 阅读全文
posted @ 2013-08-01 13:29
xlc2845
阅读(104)
评论(0)
推荐(0)
摘要:
不能简单模拟(会超时) 运用一点小技巧 减少时间复杂度#include #include using namespace std;int a[200010];int cc[200010];int main(){ int t,n,m,tt; scanf("%d",&t); memse... 阅读全文
posted @ 2013-08-01 13:28
xlc2845
阅读(144)
评论(0)
推荐(0)

浙公网安备 33010602011771号