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 listDec 20, 2025 05:19Rajarshi BasuRajarshi BasuScore: 5,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 05:195,441203,581,488174,551,0004,987,0002,502,656
2Dec 20, 2025 05:195,446202,326,244175,732,0003,993,0002,514,944
3Dec 20, 2025 05:195,447201,712,309173,749,0005,991,0002,293,760
4Dec 20, 2025 05:195,448204,509,727174,793,0004,994,0002,519,040
5Dec 20, 2025 05:195,453201,952,659173,957,0005,998,0002,371,584
6Dec 20, 2025 05:195,453204,310,722173,941,0005,997,0002,519,040
7Dec 20, 2025 05:195,461204,754,436176,215,0004,004,0002,514,944
8Dec 20, 2025 05:195,462203,103,667177,250,0003,004,0002,449,408
9Dec 20, 2025 05:195,468205,269,838175,431,0005,012,0002,289,664
10Dec 20, 2025 05:195,482206,681,621173,925,0006,996,0002,510,848
11Dec 20, 2025 05:195,488212,465,300176,102,0005,002,0002,514,944
12Dec 20, 2025 05:195,507208,990,863175,739,0005,991,0002,363,392
13Dec 20, 2025 05:195,509208,840,058174,805,0006,992,0002,519,040
14Dec 20, 2025 05:195,516213,847,164178,019,0004,000,0002,510,848
15Dec 20, 2025 05:195,537207,744,387177,737,0004,992,0002,367,488
16Dec 20, 2025 05:195,542206,677,278179,902,0002,998,0002,519,040
17Dec 20, 2025 05:195,635216,823,633180,958,0004,998,0002,514,944
18Dec 20, 2025 05:195,742214,978,145182,506,0006,981,0002,265,088
19Dec 20, 2025 05:195,766219,321,441183,284,0007,010,0002,445,312
20Dec 20, 2025 05:195,767218,812,173187,296,0003,004,0002,453,504
21Dec 20, 2025 05:196,255236,492,324200,426,0005,982,0002,514,944