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 9, 2025 16:38Rajarshi BasuRajarshi BasuScore: 137,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 9, 2025 16:52134,4684,469,320,9294,415,471,00021,987,0002,326,528
2Dec 9, 2025 16:52135,0484,482,785,1134,439,596,00016,990,0002,293,760
3Dec 9, 2025 16:52136,1644,526,535,5444,477,413,00015,990,0002,494,464
4Dec 9, 2025 16:52136,2144,524,959,3564,478,089,00016,988,0002,510,848
5Dec 9, 2025 16:38136,4294,532,301,9574,480,162,00021,986,0002,367,488
6Dec 9, 2025 16:52137,2344,557,330,0334,512,722,00015,991,0002,297,856
7Dec 9, 2025 16:52137,3474,563,718,6214,509,457,00022,981,0002,416,640
8Dec 9, 2025 16:52137,4244,566,221,1254,515,002,00019,986,0002,437,120
9Dec 9, 2025 16:38137,6204,572,503,0654,517,475,00023,981,0002,469,888
10Dec 9, 2025 16:52137,7504,573,704,6724,529,770,00015,992,0002,285,568
11Dec 9, 2025 16:52138,7364,613,070,6924,566,291,00011,992,0002,269,184
12Dec 9, 2025 16:38138,8344,617,938,2724,567,515,00013,992,0002,519,040