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 06:15Victor MerckléVictor MerckléScore: 151,433Success
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 06:17143,4584,742,195,0774,687,306,00046,839,0002,117,632stderr
2Jun 24, 2026 06:17146,4374,840,886,8634,786,890,00045,540,0002,117,632stderr
3Jun 24, 2026 06:17147,6004,879,859,2024,825,234,00045,589,0002,117,632stderr
4Jun 24, 2026 06:17148,2524,901,237,8264,846,687,00045,646,0002,121,728stderr
5Jun 24, 2026 06:17151,4335,005,273,8114,951,715,00045,584,0002,117,632stderr
6Jun 24, 2026 06:17161,5445,338,999,4075,285,278,00045,699,0002,117,632stderr
7Jun 24, 2026 06:17168,4095,565,585,8475,511,898,00045,623,0002,117,632stderr
8Jun 24, 2026 06:17173,9695,748,912,1165,694,227,00046,760,0002,117,632stderr
9Jun 24, 2026 06:17178,6455,903,442,6125,849,597,00045,720,0002,117,632stderr