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 05:18Victor MerckléVictor MerckléScore: 4,977Success
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 05:194,951171,437,125126,606,00036,793,0002,117,632stderr
2Jun 24, 2026 05:194,963171,258,034126,910,00036,888,0002,117,632stderr
3Jun 24, 2026 05:194,963171,364,656126,940,00036,863,0002,117,632stderr
4Jun 24, 2026 05:194,968171,531,646126,942,00037,034,0002,117,632stderr
5Jun 24, 2026 05:194,977171,797,090126,475,00037,788,0002,117,632stderr
6Jun 24, 2026 05:194,989172,259,886127,776,00036,880,0002,117,632stderr
7Jun 24, 2026 05:194,991172,823,507126,869,00037,839,0002,117,632stderr
8Jun 24, 2026 05:194,993172,739,760128,183,00036,610,0002,117,632stderr
9Jun 24, 2026 05:195,006173,059,187127,541,00037,686,0002,117,632stderr