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 listJul 12, 2025 16:44Aniruddha DebAniruddha DebScore: 378,914Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2025 16:44377,66812,495,873,47712,352,115,000110,938,0002,297,856
2Jul 12, 2025 16:44378,91412,541,098,75812,420,209,00083,947,0002,490,368
3Jul 12, 2025 16:44380,88612,601,818,44812,454,312,000114,938,0002,428,928