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 14, 2025 13:36Rajarshi BasuRajarshi BasuScore: 8,041Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2025 14:127,999291,020,376253,958,0009,998,0002,490,368
2Dec 14, 2025 08:238,007292,826,061258,235,0006,005,0002,506,752
3Dec 14, 2025 08:238,008291,793,684257,268,0007,007,0002,473,984
4Dec 14, 2025 13:368,008290,231,638255,263,0009,009,0002,347,008
5Dec 14, 2025 08:238,016293,893,223254,535,0009,981,0002,334,720
6Dec 16, 2025 14:128,016290,081,457253,548,00010,980,0002,502,656
7Dec 14, 2025 08:238,019293,094,645254,631,0009,985,0002,412,544
8Dec 14, 2025 13:368,020290,266,821255,664,0008,988,0002,469,888
9Dec 14, 2025 13:368,034290,831,641256,117,0009,004,0002,514,944
10Dec 14, 2025 08:238,036295,661,612257,196,0008,006,0002,498,560
11Dec 14, 2025 08:238,041293,041,004258,351,0007,009,0002,322,432
12Dec 14, 2025 08:238,049291,280,687257,613,0007,988,0002,367,488
13Dec 14, 2025 13:368,050294,492,508256,648,0008,987,0002,498,560
14Dec 14, 2025 13:368,053290,910,262254,760,00010,989,0002,506,752
15Dec 14, 2025 08:238,055292,255,314254,813,00010,991,0002,379,776
16Dec 14, 2025 13:368,069296,725,157258,268,0008,008,0002,424,832
17Dec 14, 2025 13:368,075293,593,236256,493,0009,980,0002,265,088
18Dec 14, 2025 13:368,085293,383,893256,805,0009,992,0002,498,560
19Dec 14, 2025 13:368,089293,327,505261,940,0004,998,0002,523,136
20Dec 14, 2025 08:238,098291,815,488261,255,0005,982,0002,293,760
21Dec 16, 2025 14:128,748317,176,804280,694,0007,991,0002,482,176