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 24, 2026 11:07Dominique GarmierDominique GarmierScore: 13,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2026 11:1013,434460,990,988437,331,0006,004,0002,473,984
2Apr 24, 2026 11:1013,446458,279,481439,748,0003,997,0002,457,600
3Apr 24, 2026 11:1013,451459,767,103437,912,0005,998,0002,502,656
4Apr 24, 2026 11:1013,463463,185,522438,321,0005,990,0002,473,984
5Apr 24, 2026 11:1013,519462,270,869442,156,0004,001,0002,465,792
6Apr 24, 2026 11:1013,625465,931,377444,651,0004,996,0002,465,792
7Apr 24, 2026 11:1013,707469,204,379448,358,0004,003,0002,318,336
8Apr 24, 2026 11:1013,737471,854,871448,345,0005,003,0002,473,984
9Apr 24, 2026 11:1013,746471,326,839447,655,0005,995,0002,301,952