摘要: 【208A Dubstep】 http://codeforces.ru/problemset/problem/208/A 题目大意:一个句子被添加了若干“WUB”,问原句。 将WUB去掉就行了,在句首或句尾直接删除,在句中替换成空格,注意多个“WUB”相连时特判。#include <iostream>#include <cstdio>#include <cstring>#include <cstdlib>using namespace std;char s[3000];int len;bool exist;int main(){ scanf(&q 阅读全文
posted @ 2012-07-24 18:44 Delostik 阅读(611) 评论(0) 推荐(0) 编辑