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 27, 2026 21:04Pavel SkripkinPavel SkripkinScore: 22,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 21:0521,871738,273,413718,767,0002,999,0002,502,656
2Apr 27, 2026 21:0521,966743,424,811722,904,0001,999,0002,441,216
3Apr 27, 2026 21:0522,009739,317,560723,317,0002,997,0002,441,216
4Apr 27, 2026 21:0522,111743,269,283726,676,0002,998,0002,433,024
5Apr 27, 2026 21:0522,344758,981,303734,375,0002,997,0002,433,024
6Apr 27, 2026 21:0522,359752,974,799735,868,0001,999,0002,334,720
7Apr 27, 2026 21:0522,889771,413,457752,342,0002,997,0002,318,336
8Apr 27, 2026 21:0522,986778,848,298756,543,0001,998,0002,437,120
9Apr 27, 2026 21:0523,137778,687,218760,528,0002,998,0002,433,024