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: 245,731Success
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,7138,075,765,1197,992,544,00049,972,0002,404,352
2Apr 10, 2026 19:03243,9818,085,012,8697,991,424,00059,965,0002,310,144
3Apr 10, 2026 19:03245,2608,135,243,3498,032,635,00060,959,0002,351,104
4Apr 10, 2026 19:03245,3288,131,851,1488,039,842,00055,971,0002,334,720
5Apr 10, 2026 19:03245,7318,141,369,4048,054,157,00054,966,0002,510,848
6Apr 10, 2026 19:03246,2418,163,347,4488,067,987,00057,963,0002,416,640
7Apr 10, 2026 19:03247,3328,196,051,1868,111,978,00049,975,0002,396,160
8Apr 10, 2026 19:03247,7898,209,300,2238,116,072,00060,970,0002,322,432
9Apr 10, 2026 19:03248,2928,232,686,8048,144,659,00048,973,0002,301,952