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:09Aman | अमनAman | अमनScore: 312,961Success
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:09311,25410,303,080,53110,235,417,00035,976,0002,457,600
2Dec 30, 2025 21:09312,33910,344,035,23710,261,232,00045,969,0002,301,952
3Dec 30, 2025 21:09312,50810,344,878,43710,266,776,00045,972,0002,351,104
4Dec 30, 2025 21:09312,55510,348,565,51410,273,345,00040,973,0002,523,136
5Dec 30, 2025 21:09312,96110,357,811,95110,291,739,00035,978,0002,457,600
6Dec 30, 2025 21:09313,42710,378,714,84010,296,105,00046,973,0002,461,696
7Dec 30, 2025 21:09314,66110,415,953,68910,341,835,00041,970,0002,359,296
8Dec 30, 2025 21:09315,05910,428,580,31510,356,961,00039,972,0002,285,568
9Dec 30, 2025 21:09315,38510,445,702,16510,365,725,00041,970,0002,420,736