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 6, 2026 03:28Karthik ReddyKarthik ReddyScore: 4,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2026 03:293,984140,665,017128,478,0003,018,0002,117,632
2Oct 6, 2026 03:293,994141,004,684128,686,0003,117,0002,117,632
3Oct 6, 2026 03:294,008141,502,993129,165,0003,128,0002,117,632
4Oct 6, 2026 03:294,011141,507,169129,289,0003,097,0002,117,632
5Oct 6, 2026 03:294,020141,830,297129,580,0003,093,0002,117,632
6Oct 6, 2026 03:294,046142,708,375130,406,0003,122,0002,117,632
7Oct 6, 2026 03:294,049142,645,693130,528,0003,089,0002,117,632
8Oct 6, 2026 03:294,055142,886,166130,802,0003,014,0002,117,632
9Oct 6, 2026 03:294,093144,241,151131,962,0003,131,0002,117,632