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 11, 2025 13:56Rajarshi BasuRajarshi BasuScore: 48,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2025 13:1647,9981,615,507,2461,567,949,00015,989,0002,502,656
2Dec 11, 2025 13:1648,1131,617,644,0271,571,758,00015,987,0002,400,256
3Dec 11, 2025 13:1648,1561,615,875,6611,573,167,00015,991,0002,396,160
4Dec 11, 2025 13:5648,2981,619,087,2481,574,849,00018,986,0002,428,928
5Dec 11, 2025 13:1648,4151,626,565,8911,580,703,00016,986,0002,412,544
6Dec 11, 2025 13:1648,4331,633,517,6611,581,322,00016,981,0002,416,640
7Dec 11, 2025 13:1648,4591,631,631,6571,578,155,00020,988,0002,281,472
8Dec 11, 2025 13:1648,5641,629,113,3121,585,643,00016,985,0002,273,280
9Dec 11, 2025 13:5648,6201,635,215,4431,587,486,00016,983,0002,457,600
10Dec 11, 2025 13:5648,6691,640,575,6171,593,083,00012,992,0002,506,752
11Dec 11, 2025 13:1648,7531,639,115,7801,590,856,00017,987,0002,342,912
12Dec 11, 2025 13:1653,2831,789,593,3911,735,361,00022,978,0002,281,472