摘要: #include#include#include#include#includeusing namespace std;int a[1000];bool check(string st){ mapmp; mp['(']=0;mp[')']=1; mp... 阅读全文
posted @ 2016-03-14 16:52 伟大的蚊子 阅读(128) 评论(0) 推荐(0) 编辑
摘要: #include#include#inclu... 阅读全文
posted @ 2016-03-14 16:52 伟大的蚊子 阅读(83) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;char b[100];int i,k,x,a[10000];int main (){ for (i=0;i=1;i--)printf("%c",b[a[i]]); printf("\n");... 阅读全文
posted @ 2016-03-14 16:51 伟大的蚊子 阅读(107) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;const int N=22,M=66;const int dx[]={-1,0,1,0,-1,-1,1,1};const int dy[]={0,-1,0,1,-1,1,-1,1... 阅读全文
posted @ 2016-03-14 16:51 伟大的蚊子 阅读(83) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespac... 阅读全文
posted @ 2016-03-14 16:51 伟大的蚊子 阅读(67) 评论(0) 推荐(0) 编辑
摘要: #include#include#inclu... 阅读全文
posted @ 2016-03-14 16:51 伟大的蚊子 阅读(83) 评论(0) 推荐(0) 编辑
摘要: //cww 逆波兰计算器#include#include#includeusing namespace std;stacks;char read(){ while (1){ printf("Select command and press:"); ... 阅读全文
posted @ 2016-03-14 16:50 伟大的蚊子 阅读(133) 评论(0) 推荐(0) 编辑
摘要: //cww 逆波兰计算器#include#i... 阅读全文
posted @ 2016-03-14 16:50 伟大的蚊子 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 先写个链表版的,,,dp版的以后再说#include #include #include #include using namespace std;struct node{ int num; node *next; node (){num=0;nex... 阅读全文
posted @ 2016-03-14 13:45 伟大的蚊子 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 先写个链表版的,,,dp版的以后再说#inc... 阅读全文
posted @ 2016-03-14 13:45 伟大的蚊子 阅读(76) 评论(0) 推荐(0) 编辑