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 listOct 10, 2026 00:23highload-churnerhighload-churnerScore: 9,496Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2026 01:529,454321,142,594269,879,00042,127,00024,576
2Oct 10, 2026 01:529,461321,163,613269,872,00042,369,00024,576
3Oct 10, 2026 01:529,467321,677,803269,530,00042,882,00024,576
4Oct 10, 2026 01:529,472321,550,563269,851,00042,738,00024,576
5Oct 10, 2026 01:529,496322,353,657270,277,00043,104,00024,576
6Oct 10, 2026 01:529,523323,193,407271,341,00042,925,00024,576
7Oct 10, 2026 01:529,547324,199,714269,739,00045,343,00024,576
8Oct 10, 2026 01:529,662328,094,990276,831,00042,040,00024,576
9Oct 10, 2026 01:529,689328,640,103276,404,00043,333,00024,576