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 listOct 30, 2026 02:33Andrew EpsteinAndrew EpsteinScore: 36,094Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 02:4235,6341,187,382,3831,168,510,0007,432,0002,125,824stderr
2Oct 30, 2026 02:4235,8041,192,555,2071,174,175,0007,387,0002,125,824stderr
3Oct 30, 2026 02:4235,8671,194,537,0091,176,232,0007,390,0002,121,728stderr
4Oct 30, 2026 02:4235,8801,195,017,2411,176,697,0007,345,0002,125,824stderr
5Oct 30, 2026 02:4236,0941,203,140,8921,183,745,0007,380,0002,125,824stderr
6Oct 30, 2026 02:4236,1421,203,608,2871,185,260,0007,427,0002,125,824stderr
7Oct 30, 2026 02:4236,1591,204,673,1181,185,914,0007,346,0002,125,824stderr
8Oct 30, 2026 02:4236,1721,204,621,6751,186,333,0007,372,0002,125,824stderr
9Oct 30, 2026 02:4236,6521,220,545,7671,202,175,0007,372,0002,125,824stderr