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 30, 2025 21:14Aman | अमनAman | अमनScore: 313,051Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 21:14311,62310,321,157,41210,238,594,00044,971,0002,478,080
2Dec 30, 2025 21:14311,64510,322,870,09710,239,299,00044,970,0002,351,104
3Dec 30, 2025 21:14311,79310,323,339,89910,252,184,00036,979,0002,297,856
4Dec 30, 2025 21:14312,76510,358,613,78810,285,255,00035,979,0002,498,560
5Dec 30, 2025 21:14313,05110,363,804,60410,282,703,00047,970,0002,351,104
6Dec 30, 2025 21:14313,24510,369,343,90210,297,115,00039,977,0002,465,792
7Dec 30, 2025 21:14314,15410,403,585,49510,327,098,00039,973,0002,289,664
8Dec 30, 2025 21:14314,72710,424,861,31610,339,036,00046,968,0002,433,024
9Dec 30, 2025 21:14314,99810,428,564,93510,355,966,00038,973,0002,351,104