Preparing NOJ

# Duplicate Removal

1000ms 65536K

## Description:

The company Al's Chocolate Mangos has a web site where visitors can guess how many chocolate covered mangos are in a virtual jar. Visitors type in a guess between 1 and 99 and then click on a "Submit" button. Unfortunately, the response time from the server is often long, and visitors get impatient and click "Submit" several times in a row. This generates many duplicate requests.
Your task is to write a program to assist the staff at ACM in filtering out these duplicate requests.

## Input:

The input consists of a series of lines, one for each web session. The first integer on a line is N, 0 < N ≤ 25, which is the number of guesses on this line. These guesses are all between 1 and 99, inclusive. The value N = 0 indicates the end of all the input.

## Note:

Info

Provider NOJ

Code NOJ1089

Tags

Submitted 24

Passed 9

AC Rate 37.5%

Date 04/20/2019 10:03:10

Related

Nothing Yet