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 listMar 9, 2026 20:25Pavel SamyginPavel SamyginScore: 14,216Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 9, 2026 20:2514,086491,713,353448,837,00015,994,0002,285,568
2Mar 9, 2026 20:2514,119489,854,724449,924,00015,997,0002,416,640
3Mar 9, 2026 20:2514,135495,499,159449,467,00016,979,0002,318,336
4Mar 9, 2026 20:2514,146494,015,444450,817,00015,993,0002,351,104
5Mar 9, 2026 20:2514,216496,885,177453,119,00016,004,0002,494,464
6Mar 9, 2026 20:2514,278496,612,792455,172,00016,006,0002,461,696
7Mar 9, 2026 20:2514,293496,275,996455,692,00015,989,0002,392,064
8Mar 9, 2026 20:2514,378502,487,696458,485,00015,982,0002,314,240
9Mar 9, 2026 20:2514,407501,219,945458,464,00016,980,0002,310,144