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 listSep 9, 2024 16:57Jatin YadavJatin YadavScore: 36,617Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2024 16:5736,4791,232,451,0181,175,817,00027,995,0002,424,832
2Sep 9, 2024 16:5736,4821,234,396,4471,168,899,00034,996,0002,408,448
3Sep 9, 2024 16:5736,5391,228,135,0101,176,797,00028,995,0002,408,448
4Sep 9, 2024 16:5736,5511,233,240,6641,174,209,00031,978,0002,387,968
5Sep 9, 2024 16:5736,6171,235,340,9361,177,374,00030,983,0002,281,472
6Sep 9, 2024 16:5736,7281,237,454,3021,178,037,00033,972,0002,408,448
7Sep 9, 2024 16:5736,9621,247,632,7701,191,745,00027,994,0002,424,832
8Sep 9, 2024 16:5737,4381,259,530,1281,201,471,00033,985,0002,424,832
9Sep 9, 2024 16:5737,6041,269,167,3481,207,973,00032,971,0002,408,448