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 23:47Andrew EpsteinAndrew EpsteinScore: 2,736Success
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 23:492,71799,060,13788,644,0001,026,0002,117,632
2Oct 30, 2026 23:492,72299,271,32988,832,0001,020,0002,117,632
3Oct 30, 2026 23:492,72399,266,24388,868,0001,020,0002,117,632
4Oct 30, 2026 23:492,72899,481,55789,035,0001,011,0002,117,632
5Oct 30, 2026 23:492,736100,017,17589,253,0001,044,0002,117,632
6Oct 30, 2026 23:492,73699,756,38489,287,0001,025,0002,117,632
7Oct 30, 2026 23:492,743101,139,44789,500,0001,021,0002,117,632
8Oct 30, 2026 23:492,759100,412,11190,038,0001,017,0002,117,632
9Oct 30, 2026 23:492,766100,712,91790,272,0001,017,0002,117,632