摘要:
简单题View Code #include <iostream>#include <cstdlib>#include <cstdio>#include <cstring>using namespace std;int main(){ //freopen("t.txt", "r", stdin); int t; scanf("%d", &t); while (t--) { int x, y; scanf("%d%d", &x, &y); if ( 阅读全文
posted @ 2013-03-15 13:27
undefined2024
阅读(137)
评论(0)
推荐(0)
摘要:
简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;#define maxl 60int n;char st[maxl];bool have_bed[maxl];bool occured[maxl];int hash(char ch){ return ch - 'A';}int work(){ int len = strlen(st); int ans = 0; for (i 阅读全文
posted @ 2013-03-15 13:10
undefined2024
阅读(175)
评论(0)
推荐(0)

浙公网安备 33010602011771号