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 listMay 11, 2024 22:21Joad NacerJoad NacerScore: 16,897Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 22:2116,693616,078,470550,867,78202,248,704
2May 11, 2024 22:2116,777576,684,575385,753,000167,892,0002,330,624
3May 11, 2024 22:2116,808584,069,731383,775,000170,899,0002,330,624
4May 11, 2024 22:2116,813583,887,333382,876,000171,944,0002,277,376
5May 11, 2024 22:2116,834578,300,930383,680,000171,856,0002,277,376
6May 11, 2024 22:2116,836587,706,475380,717,000174,870,0002,277,376
7May 11, 2024 22:2116,897582,074,968386,713,000170,873,0002,330,624
8May 11, 2024 22:2116,961589,814,295382,813,000176,913,0002,322,432
9May 11, 2024 22:2117,021585,640,698384,783,000176,900,0002,326,528
10May 11, 2024 22:2117,058587,015,655383,257,000179,652,0002,416,640
11May 11, 2024 22:2117,224620,355,130568,401,49002,248,704
12May 11, 2024 22:2117,928664,907,144591,619,78502,256,896