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 17, 2026 03:18e1011e1011Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2026 03:2208,738,283,2438,722,950,0004,139,0002,121,728expected "1026183 ", got "1026182 "
2Oct 17, 2026 03:22242,2378,004,694,6417,990,695,0003,132,0002,121,728
3Oct 17, 2026 03:22242,3948,010,664,2367,994,997,0004,016,0002,121,728
4Oct 17, 2026 03:22243,9768,062,759,8768,046,078,0005,158,0002,121,728
5Oct 17, 2026 03:22251,8288,321,296,1808,308,335,0002,002,0002,121,728
6Oct 17, 2026 03:22266,8318,816,346,9968,803,436,0002,001,0002,121,728
7Oct 17, 2026 03:22267,7438,846,595,6348,833,540,0002,008,0002,121,728
8Oct 17, 2026 03:22276,1739,124,688,1909,110,568,0003,145,0002,121,728
9Oct 17, 2026 03:22276,9849,151,531,1709,137,472,0003,010,0002,121,728