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 19:30GraceGraceScore: 542,455Success
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 19:30539,05017,850,086,86817,788,647,92802,244,608
2Jun 7, 2024 19:30540,71317,912,175,99017,843,521,07802,199,552
3Jun 7, 2024 19:30541,56817,931,394,83717,871,729,60802,293,760
4Jun 7, 2024 19:30542,45517,961,039,31417,901,000,66802,232,320
5Jun 7, 2024 19:30544,50018,033,629,59917,968,508,17202,273,280
6Jun 7, 2024 19:30544,68518,029,207,80217,974,614,97802,199,552