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 16:19Rajarshi BasuRajarshi BasuScore: 5,083Success
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 16:195,033189,437,800160,074,0006,002,0002,519,040
2Dec 20, 2025 16:195,040195,088,329162,310,0004,007,0002,367,488
3Dec 20, 2025 15:265,041198,837,857161,347,0005,010,0002,510,848
4Dec 20, 2025 16:195,047196,477,078162,550,0003,988,0002,269,184
5Dec 20, 2025 15:265,049193,928,182161,627,0004,988,0002,523,136
6Dec 20, 2025 16:195,049192,601,887159,622,0006,983,0002,281,472
7Dec 20, 2025 15:265,049193,200,940160,630,0005,986,0002,514,944
8Dec 20, 2025 15:265,064190,856,977162,112,0005,003,0002,506,752
9Dec 20, 2025 15:265,065191,257,038161,143,0006,005,0002,527,232
10Dec 20, 2025 15:265,083191,689,109161,749,0005,990,0002,449,408
11Dec 20, 2025 16:195,083193,269,916161,747,0005,990,0002,293,760
12Dec 20, 2025 16:195,083191,188,530161,750,0005,990,0002,334,720
13Dec 20, 2025 16:195,084191,946,757162,782,0004,993,0002,510,848
14Dec 20, 2025 15:265,091192,456,832162,011,0006,000,0002,514,944
15Dec 20, 2025 16:195,110195,515,717162,656,0005,987,0002,400,256
16Dec 20, 2025 16:195,112193,744,044163,716,0004,991,0002,375,680
17Dec 20, 2025 15:265,247196,582,268169,143,0004,003,0002,433,024
18Dec 20, 2025 15:265,518206,679,798176,087,0006,002,0002,506,752