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 22, 2025 22:30zielajzielajScore: 4,265Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 22:304,237165,064,249128,848,00010,987,0002,338,816
2Dec 22, 2025 22:304,247165,006,218132,152,0008,009,0002,506,752
3Dec 22, 2025 22:304,252164,461,316129,283,00011,024,0002,330,624
4Dec 22, 2025 22:304,263161,790,846129,694,00010,974,0002,306,048
5Dec 22, 2025 22:304,265159,349,949131,770,0008,984,0002,314,240
6Dec 22, 2025 22:304,275165,700,977132,080,0009,005,0002,330,624
7Dec 22, 2025 22:304,293170,056,057134,679,0006,983,0002,424,832
8Dec 22, 2025 22:304,293173,281,000127,701,00013,967,0002,338,816
9Dec 22, 2025 22:304,306169,329,842126,191,00015,898,0002,400,256