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 16, 2025 11:35AndreiAndreiScore: 89,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2025 11:3588,1932,935,667,6952,819,419,00090,949,0002,547,712
2Dec 16, 2025 11:3588,9642,965,119,3792,834,862,000100,959,0002,473,984
3Dec 16, 2025 11:3589,0542,970,239,1792,841,842,00096,926,0002,297,856
4Dec 16, 2025 11:3589,2232,972,054,5662,836,429,000107,940,0002,293,760
5Dec 16, 2025 11:3589,3432,975,826,0912,862,368,00085,951,0002,293,760
6Dec 16, 2025 11:3589,6502,985,211,5602,866,492,00091,951,0002,297,856
7Dec 16, 2025 11:3589,6862,987,816,8152,866,684,00092,957,0002,342,912
8Dec 16, 2025 11:3590,3173,011,126,4792,874,508,000105,945,0002,277,376
9Dec 16, 2025 11:3592,0123,065,568,6312,930,454,000105,944,0002,281,472