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 listAug 11, 2025 20:00Leon ZhaoLeon ZhaoScore: 73,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2025 20:0073,4452,449,252,9362,375,741,00047,954,0002,342,912
2Aug 11, 2025 20:0073,5352,455,565,9162,376,688,00049,951,0002,289,664
3Aug 11, 2025 20:0073,6292,462,296,0642,379,798,00049,953,0002,494,464
4Aug 11, 2025 20:0073,6962,460,280,1952,381,018,00050,957,0002,445,312
5Aug 11, 2025 20:0073,7472,461,000,8062,390,691,00042,958,0002,277,376
6Aug 11, 2025 20:0073,7532,461,012,8922,385,902,00047,957,0002,433,024
7Aug 11, 2025 20:0073,7572,463,747,1362,387,007,00046,960,0002,277,376
8Aug 11, 2025 20:0073,7702,461,794,2712,383,472,00050,945,0002,441,216
9Aug 11, 2025 20:0074,0682,473,065,1292,392,281,00051,962,0002,494,464