摘要:
题目链接。分析:水题。#include #include #include using namespace std;const int maxn = 100;int P[maxn], W[maxn];char s[maxn];int main(){ int T, n, m; scanf("%d", &T); while(T--) { scanf("%d", &n); P[0] = 0; for(int i=1; i=0; j--) { if(s[j] == ')') { t++; ls_cnt++... 阅读全文
posted @ 2013-06-22 14:43
Still_Raining
阅读(164)
评论(0)
推荐(0)
摘要:
题目链接。分析:很简单的一道题,#include <iostream>#include <cstring>#include <cstdio>#include <cstdlib>#include <stack>#include <cmath>#include <queue>using namespace std;const int maxn = 100;int dx[] = {-1, 0, 1, 0};//上右下左int dy[] = {0, 1, 0, -1};char G[maxn][maxn];int st 阅读全文
posted @ 2013-06-22 00:25
Still_Raining
阅读(238)
评论(0)
推荐(0)
浙公网安备 33010602011771号