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:19Pavel SkripkinPavel SkripkinScore: 17,762Success
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:2016,884573,452,227452,155,000105,036,0002,326,528
2Apr 27, 2026 21:2017,340589,612,747468,373,000103,861,0002,490,368
3Apr 27, 2026 21:2017,416595,979,774467,785,000106,950,0002,494,464
4Apr 27, 2026 21:2017,686601,845,466479,704,000103,935,0002,445,312
5Apr 27, 2026 21:2017,762604,334,988482,317,000103,853,0002,502,656
6Apr 27, 2026 21:2017,953607,284,680487,552,000104,903,0002,383,872
7Apr 27, 2026 21:2018,047614,318,194491,651,000103,926,0002,527,232
8Apr 27, 2026 21:2018,187614,050,092496,332,000103,860,0002,441,216
9Apr 27, 2026 21:2018,681633,719,295512,589,000103,916,0002,383,872