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 listJun 22, 2025 05:56Ian MckibbenIan MckibbenScore: 18,541Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2025 05:5618,441631,297,960524,606,00083,936,0002,351,104
2Jun 22, 2025 05:5618,465635,703,765527,429,00081,911,0002,281,472
3Jun 22, 2025 05:5618,475632,024,264513,720,00095,947,0002,281,472
4Jun 22, 2025 05:5618,482637,723,868520,926,00088,987,0002,347,008
5Jun 22, 2025 05:5618,541644,027,849529,881,00081,981,0002,539,520
6Jun 22, 2025 05:5618,575636,093,651522,981,00089,996,0002,281,472
7Jun 22, 2025 05:5618,601642,435,890524,844,00088,973,0002,281,472
8Jun 22, 2025 05:5619,064654,129,714542,239,00086,878,0002,269,184
9Jun 22, 2025 05:5619,250661,778,638552,359,00082,903,0002,482,176