uva 10115 - Automatic Editing
摘要:
这题很简单,就是不停搜索#include#include#includeusing namespace std;int main(){ int n; string words[15],reword[15],l; while(cin>>n){ getchar(); if(n==0) break; for(int i=0;i=0){ l.replace(start,words[i].size(),reword[i]) } } cout<<... 阅读全文
posted @ 2013-12-16 15:22 云在心 阅读(101) 评论(0) 推荐(0)
浙公网安备 33010602011771号