上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 未能加载文件或程序集“Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。试图加载格式不正确的程序。 原来,我引用的Open Inventor是32位的,而我系统是64位的Win7,编译没问题,运行就报错了,... 阅读全文
posted @ 2014-12-18 12:38 keyboard3 阅读(8134) 评论(0) 推荐(0) 编辑
摘要: 分析:题意源岸数量3#include#include#include#includeusing namespace std;int main(void){ int n,t ; int i,j; int num[1001]; cin>>t; while(t--){ ... 阅读全文
posted @ 2014-12-14 17:59 keyboard3 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 已哭瞎。 搞了2个多小时的错误居然是在 没有初始化。。。。。。。。。。。。教训:每个例子一定要考虑到初始化问题。!每个节点存了一个数组 该数组记录的有26个大小 0-25分别表示记录表示'a'-'z'。一个节点数组的单位记录的是下一个节点的索引即第几个节点。 节点数组记录了他的所有子节点在哪里和以及... 阅读全文
posted @ 2014-12-13 21:49 keyboard3 阅读(210) 评论(0) 推荐(0) 编辑
摘要: charn[100];sprintf(n,"%lf",db); 阅读全文
posted @ 2014-12-12 16:28 keyboard3 阅读(308) 评论(0) 推荐(0) 编辑
摘要: //题目中结果有一条限制就是最后必须跳回A,如果我们的思想框在这个条件上就很容易卡住,因为这样的条件下的路径很难有规律的罗列,然而我们说这个图形中有三个区域,我们算出每个区域的第n-1次的种类数,然后很容易就地推出了第n次的,取结果的时候只要去A区域的就可以了#include#include#inc... 阅读全文
posted @ 2014-11-22 19:04 keyboard3 阅读(327) 评论(0) 推荐(0) 编辑
摘要: //宁用大量的二维不用量小的三维#include #include#includeusing namespace std;int prime[1000],num[10005];int Cout;void initPrime(){ for(int i=2;i>n) { cn=... 阅读全文
posted @ 2014-11-15 23:47 keyboard3 阅读(250) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;int Next[100005];void getnext(const char *W,int *next){ int j=0,k=-1; next[0]=-1; while(!j || W[j]... 阅读全文
posted @ 2014-11-15 22:13 keyboard3 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 通过阶段性计算减少一次性的大值计算#include int main(){ int t, a, b, i; __int64 c; scanf("%d", &t); while(t--) { scanf("%d%d", &a, &b); if(... 阅读全文
posted @ 2014-11-15 00:09 keyboard3 阅读(90) 评论(0) 推荐(0) 编辑
摘要: D - Palindrome Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice URAL 1297DescriptionThe “U.S. Robots” HQ has... 阅读全文
posted @ 2014-10-30 21:03 keyboard3 阅读(147) 评论(0) 推荐(0) 编辑
摘要: #include#include#include/*虽然该题不排序也可以过,但是我认为价格和重量最大的先买比较合理*/#include#includeusing namespace std;#define N 105int dp[N];struct Node{ int p,h,c;}num[... 阅读全文
posted @ 2014-10-19 21:29 keyboard3 阅读(113) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页