ITeye博客

POJ1028

EmmaZhao · 2012-12-12 09:30 · 编程语言 · Markdown

[code="c++"] #include #include using namespace std; int main() { string websites[102]; websites[1] = "http://www.acm.org/"; string str,tmp; int i = 1,max; while(cin>>str && (str[0] != 'Q')){ if(str[0] == 'V') { cin>>tmp; websites[++i] = tmp; max = i; cout<1){ cout<= max){ cout<<"Ignored"<

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。