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 09:13Rajarshi BasuRajarshi BasuScore: 5,218Success
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 09:145,183193,325,410166,051,0005,001,0002,375,680
2Dec 20, 2025 09:145,205198,987,966165,780,0005,992,0002,514,944
3Dec 20, 2025 09:205,206195,237,673165,812,0005,993,0002,519,040
4Dec 20, 2025 09:145,207196,107,141164,843,0006,993,0002,527,232
5Dec 20, 2025 09:205,207197,332,135165,825,0005,993,0002,523,136
6Dec 20, 2025 09:145,208195,841,721164,859,0006,994,0002,523,136
7Dec 20, 2025 09:145,210195,243,475168,933,0002,998,0002,510,848
8Dec 20, 2025 09:135,218198,621,985165,172,0007,007,0002,519,040
9Dec 20, 2025 09:145,228203,540,359165,538,0006,980,0002,510,848
10Dec 20, 2025 09:145,228199,204,322167,513,0005,015,0002,498,560
11Dec 20, 2025 09:135,251200,050,147166,277,0007,011,0002,424,832
12Dec 20, 2025 09:135,262199,175,836166,647,0006,985,0002,281,472
13Dec 20, 2025 09:145,265194,787,751169,765,0003,994,0002,363,392
14Dec 20, 2025 09:205,278199,648,106169,183,0005,005,0002,523,136
15Dec 20, 2025 09:145,392205,991,718171,927,0005,997,0002,506,752