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 7, 2024 18:38GraceGraceScore: 497,716Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 18:43493,94116,362,976,52016,300,043,09202,191,360
2Jun 7, 2024 18:43495,09316,406,863,18116,338,064,68202,314,240
3Jun 7, 2024 18:38495,75116,418,597,45516,359,787,45902,277,376
4Jun 7, 2024 18:38497,71616,479,702,23516,424,613,64202,265,088
5Jun 7, 2024 18:43498,09416,505,217,44916,437,108,43402,195,456
6Jun 7, 2024 18:38499,52416,544,634,37316,484,276,83202,293,760