PKU POJ 1002 487-3279 水题
摘要:
#include <iostream>#include <string.h>#include <stdlib.h>#include <algorithm>using namespace std;int a[100005];int t(char c){ if(c<'Q') return (c-'A')/3+2; else return (c-'B')/3+2;}int trans(char s[]){ int res=0; for (int i=0;i<strlen(s);++i) { i 阅读全文
posted @ 2013-03-14 21:13 Deller 阅读(143) 评论(0) 推荐(0)
浙公网安备 33010602011771号