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 listJun 19, 2024 04:35matsuoka-601matsuoka-601Score: 6,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2024 04:366,279276,771,782207,209,06002,269,184
2Jun 19, 2024 04:366,310266,695,733208,226,08702,273,280
3Jun 19, 2024 04:356,327271,577,397208,784,61702,256,896
4Jun 19, 2024 04:366,333271,031,535208,987,96602,269,184
5Jun 19, 2024 04:366,336270,864,230209,087,30502,273,280
6Jun 19, 2024 04:356,346274,705,771209,433,42702,404,352
7Jun 19, 2024 04:366,360268,710,190209,874,01502,277,376
8Jun 19, 2024 04:356,370279,141,473210,210,89502,408,448
9Jun 19, 2024 04:366,394286,556,426211,000,77202,277,376