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 24, 2026 09:09Victor MerckléVictor MerckléScore: 153,097Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 24, 2026 09:11149,2494,932,793,8284,879,649,00045,581,0002,117,632stderr
2Jun 24, 2026 09:11149,7744,950,730,4204,896,949,00045,624,0002,117,632stderr
3Jun 24, 2026 09:11149,8574,953,029,0844,900,818,00044,471,0002,117,632stderr
4Jun 24, 2026 09:11150,1294,961,825,6704,908,624,00045,651,0002,117,632stderr
5Jun 24, 2026 09:11153,0975,060,410,5795,006,628,00045,594,0002,117,632stderr
6Jun 24, 2026 09:11159,5545,273,494,4085,219,452,00045,837,0002,117,632stderr
7Jun 24, 2026 09:11170,6365,639,041,3645,584,220,00046,784,0002,117,632stderr
8Jun 24, 2026 09:11170,9315,648,450,8305,594,921,00045,824,0002,117,632stderr
9Jun 24, 2026 09:11175,7885,808,671,0115,755,248,00045,763,0002,117,632stderr