Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listJun 17, 2024 03:02matsuoka-601matsuoka-601Score: 6,827Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2024 03:026,790298,135,169224,076,72402,183,168
2Jun 17, 2024 03:026,809247,485,209199,722,00024,965,0002,400,256
3Jun 17, 2024 03:026,817298,733,323224,958,47102,195,456
4Jun 17, 2024 03:026,818251,009,945206,993,00017,999,0002,400,256
5Jun 17, 2024 03:026,823247,708,100204,147,00021,015,0002,330,624
6Jun 17, 2024 03:026,824246,133,763209,175,00016,013,0002,428,928
7Jun 17, 2024 03:026,827251,262,037209,283,00016,021,0002,420,736
8Jun 17, 2024 03:026,831251,127,933210,384,00015,027,0002,375,680
9Jun 17, 2024 03:026,838250,076,707208,691,00016,974,0002,510,848
10Jun 17, 2024 03:026,855294,191,244226,225,91102,203,648
11Jun 17, 2024 03:026,859253,487,678207,312,00019,028,0002,502,656
12Jun 17, 2024 03:026,864251,535,652205,557,00020,954,0002,498,560