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 10, 2026 19:03Oleg SkinderevOleg SkinderevScore: 244,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 19:03243,0418,050,982,9277,950,404,00069,959,0002,342,912
2Apr 10, 2026 19:03243,5768,076,232,2887,988,030,00049,975,0002,428,928
3Apr 10, 2026 19:03243,6268,075,097,7937,989,672,00049,972,0002,363,392
4Apr 10, 2026 19:03244,6298,109,445,0418,016,803,00055,963,0002,269,184
5Apr 10, 2026 19:03244,6668,103,237,3198,017,028,00056,964,0002,482,176
6Apr 10, 2026 19:03245,4648,135,565,0748,048,338,00051,969,0002,351,104
7Apr 10, 2026 19:03245,8518,146,495,5948,047,101,00065,968,0002,396,160
8Apr 10, 2026 19:03246,2298,158,210,0398,073,588,00051,971,0002,392,064
9Apr 10, 2026 19:03246,2438,157,663,4848,072,042,00053,973,0002,322,432