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 20:07Rajarshi BasuRajarshi BasuScore: 7,805Success
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 19:556,865253,310,000221,564,0004,990,0002,404,352
2Dec 19, 2025 19:556,883250,521,313223,131,0004,002,0002,510,848
3Dec 19, 2025 19:556,912255,495,258223,092,0005,002,0002,445,312
4Dec 19, 2025 20:076,985258,362,417225,507,0004,989,0002,490,368
5Dec 19, 2025 20:077,039260,553,861227,282,0005,006,0002,289,664
6Dec 19, 2025 20:077,134264,458,450229,425,0006,011,0002,334,720
7Dec 19, 2025 20:077,610277,112,565224,112,00027,013,0002,424,832
8Dec 19, 2025 20:077,805288,380,365231,605,00025,955,0002,334,720
9Dec 19, 2025 20:079,115666,070,493233,279,00067,502,00061,136,896
10Dec 19, 2025 20:0210,187884,713,423226,422,000109,750,0002,408,448
11Dec 19, 2025 20:0211,9791,249,237,506235,963,000159,352,0002,498,560
12Dec 19, 2025 20:0712,5301,381,723,083235,096,000178,384,0002,400,256
13Dec 19, 2025 20:0712,5411,583,166,684227,211,000186,638,000197,074,944
14Dec 19, 2025 20:0212,9951,653,056,030234,195,000194,656,0002,281,472
15Dec 19, 2025 20:0716,1212,372,828,663248,617,000283,382,000261,750,784