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 listApr 16, 2024 18:43Chiraag BaluChiraag BaluScore: 339,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 18:38335,91611,158,627,01811,085,226,94102,277,376
2Apr 16, 2024 18:38338,17511,232,892,48311,159,770,86002,256,896
3Apr 16, 2024 18:43339,04311,257,058,55811,188,423,48802,179,072
4Apr 16, 2024 18:38339,52811,266,225,69511,204,437,49202,293,760
5Apr 16, 2024 18:43339,90911,286,630,49311,216,995,22502,199,552
6Apr 16, 2024 18:43341,74011,342,781,50811,277,406,14302,277,376