摘要: 题目:10361-Automatic Poetry思路:水题。。暴力#include <cstdio>#include <iostream>#include <cstring>#include <algorithm>#include <cmath>using namespace std;char str[110];string s[6];int main(){ int t; scanf("%d",&t); getchar(); while(t--) { gets(str); for(int i=0;i< 阅读全文
posted @ 2013-06-16 17:28 over_flow 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题目:10010-Where's Waldorf?思路:水题。。暴力#include <cstdio>#include <iostream>#include <cstring>#include <algorithm>#include <cmath>using namespace std;int row,col,l;char s[55][55];char str[110];int dir[8][2]={-1,1,0,1,1,1,-1,0,1,0,-1,-1,0,-1,1,-1};bool is_ok(int i,int j,in 阅读全文
posted @ 2013-06-16 16:48 over_flow 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 题目:401-Palindromes水题#include <cstdio>#include <iostream>#include <algorithm>#include <cmath>#include <cstring>#include <vector>#include <map>using namespace std;map<char,char>m;void init(){ m.clear(); m['3']='E'; m['E']='3&# 阅读全文
posted @ 2013-06-16 14:50 over_flow 阅读(185) 评论(0) 推荐(0) 编辑