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:28Rajarshi BasuRajarshi BasuScore: 5,118Success
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:265,053192,502,690162,745,0003,993,0002,519,040
2Dec 20, 2025 09:265,080198,844,191162,660,0004,989,0002,363,392
3Dec 20, 2025 09:285,082190,852,370161,729,0005,989,0002,510,848
4Dec 20, 2025 09:265,089192,677,125160,934,0006,997,0002,301,952
5Dec 20, 2025 09:265,098191,080,258162,241,0006,008,0002,371,584
6Dec 20, 2025 09:265,102194,969,851162,348,0006,012,0002,473,984
7Dec 20, 2025 09:265,107195,083,226161,538,0006,980,0002,514,944
8Dec 20, 2025 09:285,118190,790,944162,885,0005,995,0002,289,664
9Dec 20, 2025 09:285,123196,798,877164,058,0005,001,0002,387,968
10Dec 20, 2025 09:285,124191,647,448161,103,0008,005,0002,347,008
11Dec 20, 2025 09:265,140203,268,203163,641,0005,986,0002,510,848
12Dec 20, 2025 09:265,142193,224,647162,711,0006,987,0002,445,312
13Dec 20, 2025 09:285,169200,750,237162,600,0007,980,0002,306,048
14Dec 20, 2025 09:285,277200,642,085167,136,0007,005,0002,412,544
15Dec 20, 2025 09:265,282199,194,893168,303,0006,010,0002,523,136