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 listNov 6, 2024 05:49Mikhail ShirokovMikhail ShirokovScore: 134,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 05:49132,5534,404,957,9964,352,247,00021,986,0002,351,104
2Nov 6, 2024 05:49134,4634,464,840,0604,412,308,00024,979,0002,293,760
3Nov 6, 2024 05:49136,0494,521,612,3854,472,639,00016,987,0002,400,256