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 listMay 1, 2026 11:52Victor MerckléVictor MerckléScore: 88,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 11:5388,1022,924,273,2812,870,390,00036,979,0002,527,232stderr
2May 1, 2026 11:5388,1022,926,422,5432,872,417,00034,980,0002,326,528stderr
3May 1, 2026 11:5388,1542,926,348,6292,869,131,00039,973,0002,400,256stderr
4May 1, 2026 11:5388,4842,941,313,3642,883,014,00036,987,0002,396,160stderr
5May 1, 2026 11:5388,4872,939,104,8952,887,121,00032,978,0002,551,808stderr
6May 1, 2026 11:5388,7162,942,902,9392,894,652,00032,984,0002,404,352stderr
7May 1, 2026 11:5388,8212,951,707,8152,891,130,00039,974,0002,404,352stderr
8May 1, 2026 11:5388,9212,957,303,2072,898,413,00035,980,0002,326,528stderr
9May 1, 2026 11:5389,0172,956,942,3582,903,579,00033,983,0002,404,352stderr