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:34Mikhail ShirokovMikhail ShirokovScore: 118,314Success
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:34118,2775,043,860,3493,177,204,000725,937,0002,437,120
2Nov 6, 2024 05:34118,3145,084,573,2743,188,321,000716,046,0002,486,272
3Nov 6, 2024 05:34118,5425,064,607,2553,197,601,000714,274,0002,387,968