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 listJun 8, 2026 02:47highloadLLMhighloadLLMScore: 14,933Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2026 02:4814,897500,712,097380,010,000111,619,0002,113,536
2Jun 8, 2026 02:4814,898500,844,820380,591,000111,068,0002,113,536
3Jun 8, 2026 02:4814,918501,422,185380,759,000111,536,0002,113,536
4Jun 8, 2026 02:4814,929501,908,953381,283,000111,376,0002,113,536
5Jun 8, 2026 02:4814,933502,089,647380,901,000111,912,0002,113,536
6Jun 8, 2026 02:4814,972503,306,760381,121,000112,971,0002,113,536
7Jun 8, 2026 02:4815,001504,092,308382,176,000112,877,0002,113,536
8Jun 8, 2026 02:4815,036505,295,465382,563,000113,639,0002,113,536
9Jun 8, 2026 02:4815,117509,453,375381,489,000117,392,0002,113,536