---
title: "POJ1028"
author: "EmmaZhao"
date: "2012-12-12T09:30:21Z"
tags: []
categories: ["编程语言"]
slug: "poj1028"
draft: false
lastmod: "2012-12-12T09:30:21Z"
id: 1746264
url: "https://emmazhao.iteye.com/blog/1746264"
---

\[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&gt;&gt;str && (str\[0] != 'Q')){ if(str\[0] == 'V') { cin&gt;&gt;tmp; websites\[++i] = tmp; max = i; cout&lt;1){ cout&lt;= max){ cout&lt;&lt;"Ignored"&lt;