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 5, 2025 10:12CadovvlCadovvlScore: 59,220Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 5, 2025 10:1258,2791,953,691,6281,874,256,00048,954,0002,285,568
2Dec 5, 2025 10:1259,0311,974,623,2471,908,036,00039,979,0002,412,544
3Dec 5, 2025 10:1259,0561,977,430,4341,899,874,00048,970,0002,478,080
4Dec 5, 2025 10:1259,1801,982,170,5591,904,976,00047,974,0002,437,120
5Dec 5, 2025 10:1259,2201,987,715,9111,902,281,00051,980,0002,277,376
6Dec 5, 2025 10:1259,2381,985,824,2331,906,876,00047,971,0002,277,376
7Dec 5, 2025 10:1259,3921,989,129,5411,913,952,00045,974,0002,441,216
8Dec 5, 2025 10:1259,5071,990,184,6341,918,750,00044,970,0002,445,312
9Dec 5, 2025 10:1259,6051,992,792,8611,919,006,00047,975,0002,277,376