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 28, 2024 15:31Joad NacerJoad NacerScore: 7,531Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 15:317,347304,175,897242,434,81502,215,936
2May 28, 2024 15:317,395271,139,858188,036,00056,010,0002,494,464
3May 28, 2024 15:317,424304,882,188244,993,51102,228,224
4May 28, 2024 15:317,476306,717,154246,702,92102,224,128
5May 28, 2024 15:317,515274,396,934189,999,00057,999,0002,420,736
6May 28, 2024 15:317,521271,835,275191,153,00057,045,0002,441,216
7May 28, 2024 15:317,531274,818,837193,419,00055,119,0002,523,136
8May 28, 2024 15:317,532275,767,116191,665,00056,900,0002,437,120
9May 28, 2024 15:317,558274,530,554192,557,00056,869,0002,506,752
10May 28, 2024 15:317,581276,878,985192,124,00058,037,0002,519,040
11May 28, 2024 15:317,661283,421,852194,847,00057,954,0002,502,656
12May 28, 2024 15:317,998290,418,756205,944,00057,984,0002,437,120