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 19, 2025 11:28Rajarshi BasuRajarshi BasuScore: 6,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2025 10:506,263231,277,682197,707,0008,986,0002,506,752
2Dec 19, 2025 10:506,265229,346,830198,758,0007,990,0002,387,968
3Dec 19, 2025 10:496,266232,552,698195,798,00010,988,0002,359,296
4Dec 19, 2025 11:426,270234,269,822197,906,0008,995,0002,424,832
5Dec 19, 2025 10:506,282238,466,786196,289,00011,016,0002,400,256
6Dec 19, 2025 11:426,283236,091,571201,326,0006,009,0002,498,560
7Dec 19, 2025 10:506,286234,197,621199,421,0008,016,0002,400,256
8Dec 19, 2025 11:426,304234,886,385197,029,00011,001,0002,453,504
9Dec 19, 2025 10:506,305229,740,163203,067,0005,001,0002,383,872
10Dec 19, 2025 10:506,310230,370,386200,222,0008,008,0002,453,504
11Dec 19, 2025 10:506,315240,947,129204,379,0004,007,0002,514,944
12Dec 19, 2025 10:506,322231,932,438202,631,0005,989,0002,506,752
13Dec 19, 2025 10:496,337231,936,555204,130,0005,003,0002,408,448
14Dec 19, 2025 10:506,360234,023,630202,892,0006,996,0002,490,368
15Dec 19, 2025 10:496,473240,570,463208,614,0004,990,0002,310,144
16Dec 19, 2025 11:287,473270,875,278236,629,0009,984,0002,420,736
17Dec 19, 2025 11:287,490273,838,055241,180,0006,004,0002,289,664
18Dec 19, 2025 11:287,492274,320,721238,219,0009,008,0002,420,736