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 listApr 11, 2026 21:45AdityaAdityaScore: 64,608Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2026 21:4564,3802,151,993,8022,096,573,00027,980,0002,375,680
2Apr 11, 2026 21:4564,3922,151,658,5172,097,957,00026,986,0002,375,680
3Apr 11, 2026 21:4564,4542,155,375,9842,101,990,00024,988,0002,371,584
4Apr 11, 2026 21:4564,4982,162,573,0532,105,436,00022,982,0002,355,200
5Apr 11, 2026 21:4564,6082,159,763,9892,103,081,00028,987,0002,326,528
6Apr 11, 2026 21:4564,6742,160,964,5132,112,234,00021,992,0002,449,408
7Apr 11, 2026 21:4564,7872,167,549,2682,108,971,00028,985,0002,383,872
8Apr 11, 2026 21:4564,9122,167,651,1232,115,118,00026,988,0002,383,872
9Apr 11, 2026 21:4564,9472,177,134,6702,115,252,00027,990,0002,375,680